Documentation ¶ Index ¶ func AnotherFunc() string func ExampleFunc() string type IgnoredType type OtherType type Profile type User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AnotherFunc ¶ func AnotherFunc() string func ExampleFunc ¶ func ExampleFunc() string Types ¶ type IgnoredType ¶ type IgnoredType struct { Foo string Profile Profile `json:",inline"` // embedded profile } IgnoredType is not copied type OtherType ¶ type OtherType struct { Hello string `json:"hello,omitempty"` } OtherType is copied separately type Profile ¶ type Profile struct { Bio string // short bio } Profile contains extra info. type User ¶ type User struct { // ID is the unique identifier ID int `json:"id"` // Name of the user Name string `json:"name"` Profile Profile `json:",inline"` // embedded profile Import thirdparty.SomeType `json:"import"` } User represents a system user. Source Files ¶ View all Source files funcs.gotypes.go Click to show internal directories. Click to hide internal directories.