Documentation ¶
Index ¶
- type Account
- type Bar
- type Buzz
- type Fizz
- type Foo
- func (f Foo) Alias() FooType
- func (f Foo) AliasPtr() *FooType
- func (f Foo) B() bool
- func (f Foo) BoolByString() map[string]bool
- func (f Foo) BoolPtr() *bool
- func (f Foo) BoolsByString() map[string][]bool
- func (f Foo) BuzzItAge() int64
- func (f Foo) BuzzItName() string
- func (f Foo) FooTypePtrsByString() map[string][]*FooType
- func (f Foo) FooTypesByString() map[string][]FooType
- func (f Foo) I() int
- func (f Foo) I32() int32
- func (f Foo) I64() int64
- func (f Foo) Imported() sql.NullString
- func (f Foo) IntPtr() *int
- func (f Foo) NestedBar() *Bar
- func (f Foo) Remarks() *string
- func (f Foo) SliceBool() []bool
- func (f Foo) SliceBoolFoo() []Foo
- func (f Foo) SliceBoolFoop() []*Foo
- func (f Foo) SliceBoolp() []*bool
- func (f Foo) SliceInt() []int
- func (f Foo) SliceIntp() []*int
- func (f Foo) SliceStr() []string
- func (f Foo) SliceStrp() []*string
- func (f Foo) StrPtr() *string
- func (f Foo) String() string
- func (f Foo) StringByFooType() map[FooType]string
- func (f Foo) StringByPtrFooType() map[*FooType]string
- type FooType
- type GlobalPrefix
- type IgnoreField
- type Imported
- type InlineChildren
- type InlineParent
- type InlinePrefixChild
- type InlinePrefixParent
- type Nested
- type RenameField
- type TestWalk
- func (t TestWalk) Age() int
- func (t TestWalk) M1() map[string][]*Nested
- func (t TestWalk) M2() map[string][][int64(3)]*map[string]*Nested
- func (t TestWalk) M3() *Nested
- func (t TestWalk) M4() [int64(100)]map[*Nested][]*map[*string]*Nested
- func (t TestWalk) Name() string
- func (t TestWalk) Nested() [int64(3)]Nested
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fizz ¶
type Fizz struct { Remarks *string Ignore *string `get:"-"` // contains filtered or unexported fields }
func (Fizz) GetNestedBar ¶
type Foo ¶
type Foo struct {
// contains filtered or unexported fields
}
Foo is an example struct.
func (Foo) BoolByString ¶
func (Foo) BoolsByString ¶
func (Foo) BuzzItName ¶
func (Foo) FooTypePtrsByString ¶
func (Foo) FooTypesByString ¶
func (Foo) Imported ¶
func (f Foo) Imported() sql.NullString
func (Foo) SliceBoolFoo ¶
func (Foo) SliceBoolFoop ¶
func (Foo) SliceBoolp ¶
func (Foo) StringByFooType ¶
func (Foo) StringByPtrFooType ¶
type GlobalPrefix ¶
type GlobalPrefix struct {
// contains filtered or unexported fields
}
func (GlobalPrefix) GetAge ¶
func (g GlobalPrefix) GetAge() int
func (GlobalPrefix) GetName ¶
func (g GlobalPrefix) GetName() string
type IgnoreField ¶
type IgnoreField struct {
// contains filtered or unexported fields
}
func (IgnoreField) Age ¶
func (i IgnoreField) Age() int
type Imported ¶
type Imported struct {
// contains filtered or unexported fields
}
func (Imported) Extra ¶
func (i Imported) Extra() json.RawMessage
type InlineChildren ¶
type InlineChildren struct { // May contain exported field. Name string // contains filtered or unexported fields }
type InlineParent ¶
type InlineParent struct {
InlineChildren `get:",inline"`
}
func (InlineParent) Age ¶
func (i InlineParent) Age() int64
func (InlineParent) Name ¶
func (i InlineParent) Name() string
type InlinePrefixChild ¶
type InlinePrefixChild struct { // May contain exported field. Name string // contains filtered or unexported fields }
type InlinePrefixParent ¶
type InlinePrefixParent struct {
InlineChildren `get:",inline,Inline"`
}
func (InlinePrefixParent) InlineAge ¶
func (i InlinePrefixParent) InlineAge() int64
func (InlinePrefixParent) InlineName ¶
func (i InlinePrefixParent) InlineName() string
type RenameField ¶
type RenameField struct {
// contains filtered or unexported fields
}
func (RenameField) Age ¶
func (r RenameField) Age() int
func (RenameField) RealName ¶
func (r RenameField) RealName() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.