Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayWrapper ¶ added in v0.1.2
type ArrayWrapper [16]byte
type Enumerated ¶
type Enumerated int
const ( // EnumeratedOne defines a first enumerated type value. EnumeratedOne Enumerated EnumeratedTwo )
type ExtensionFields ¶ added in v0.1.3
type ExtensionFields = imported.ExtensionFields
type Foo ¶
type Foo struct { // ID is the foo field identifier. ID FooID `json:"id"` String string `custom:"name"` CustomName string Bool bool Enumerated Enumerated Slice []string Float64 float64 Duration time.Duration Bar *Bar }
Foo is the test model that contains multiple field definitions.
type FooID ¶
type FooID int64
FooID is the custom type wrapper on the Foo identifier.
func (FooID) MarshalText ¶ added in v0.1.0
MarshalText implements encoding.TextMarshaler interface.
func (*FooID) UnmarshalText ¶ added in v0.1.0
UnmarshalText implements encoding.TextUnmarshaler interface.
type FooPtrAlias ¶ added in v0.1.1
type FooPtrAlias *Foo
type FuncWrapper ¶ added in v0.1.2
func (FuncWrapper) Do ¶ added in v0.1.2
func (f FuncWrapper) Do()
type InheritMe ¶
type InheritMe interface {
Inherited()
}
InheritMe is an interface that will be inherited.
type MultiPointerInlineStruct ¶ added in v0.1.2
type MultiPointerInlineStruct ******struct { // Field test comment. Field string }
type UnknownFields ¶ added in v0.1.3
type UnknownFields = imported.UnknownFields
type WeakFields ¶ added in v0.1.3
type WeakFields = imported.WeakFields
type WeirdStruct ¶ added in v0.1.1
type WeirdStruct struct { // Name doc. Name string }
WeirdStruct docs.
Click to show internal directories.
Click to hide internal directories.