Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accessor ¶
Accessor :
func (*Accessor) IterateStructs ¶
func (a *Accessor) IterateStructs( fn func(sa *StructAccessor) error, ) error
IterateStructs :
type FieldAccessor ¶
FieldAccessor :
func (*FieldAccessor) GuessJSONFieldName ¶
func (fa *FieldAccessor) GuessJSONFieldName(defaultStr string) string
GuessJSONFieldName :
type StructAccessor ¶
type StructAccessor struct { Object types.Object Underlying *types.Struct // contains filtered or unexported fields }
StructAccessor :
func (*StructAccessor) IterateFields ¶
func (sa *StructAccessor) IterateFields(fn func(sa *FieldAccessor) error) error
IterateFields :
func (*StructAccessor) LookupFieldOrMethod ¶
func (sa *StructAccessor) LookupFieldOrMethod(name string) *FieldAccessor
LookupFieldOrMethod :
Click to show internal directories.
Click to hide internal directories.