Documentation ¶
Index ¶
- type Field
- func (f Field) ConvertibleFromFloat64() bool
- func (f Field) Field() string
- func (f Field) IsAnonymous() bool
- func (f Field) IsArrayOrSlice() bool
- func (f Field) IsExported() bool
- func (f Field) IsPointer() bool
- func (f Field) IsSlice() bool
- func (f Field) IsStruct() bool
- func (f Field) Name() string
- func (f Field) Type() string
- func (f Field) UnderlyingConvertibleFromFloat64() bool
- func (f Field) UnderlyingIsBasic() bool
- func (f Field) UnderlyingIsPointer() bool
- func (f Field) UnderlyingTarget() fieldser
- func (f Field) UnderlyingType() types.Type
- func (f Field) UnderlyingTypeName() string
- type Generator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
Field contains the details from an struct field
func (Field) ConvertibleFromFloat64 ¶
func (Field) IsAnonymous ¶
func (Field) IsArrayOrSlice ¶
func (Field) IsExported ¶
func (Field) UnderlyingConvertibleFromFloat64 ¶
func (Field) UnderlyingIsBasic ¶
func (Field) UnderlyingIsPointer ¶
func (Field) UnderlyingTarget ¶
func (f Field) UnderlyingTarget() fieldser
func (Field) UnderlyingType ¶
func (Field) UnderlyingTypeName ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator will generate the UnmarshalMap function
func NewGenerator ¶
NewGenerator initializes a Generator
func (*Generator) SetPackage ¶
Click to show internal directories.
Click to hide internal directories.