Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct {
List []string
}
func (*Array) UnmarshalMap ¶
UnmarshalMap takes a map and unmarshals the fieds into the struct
type Composed ¶
func (*Composed) UnmarshalMap ¶
UnmarshalMap takes a map and unmarshals the fieds into the struct
type Nested ¶
type Nested struct { First Embedded Second *Embedded Third []Embedded Fourth []*Embedded Fifth [3]Embedded Sixth [3]*Embedded }
func (*Nested) UnmarshalMap ¶
UnmarshalMap takes a map and unmarshals the fieds into the struct
type SimpleStruct ¶
type SimpleStruct struct { SimpleField string SimpleJSONTagged string `json:"field2"` SimpleJSONTaggedOmitted string `json:"field3,omitempty"` SimpleOmitEmptyNoName string `json:",omitempty"` SimpleSkipped string `json:"-,omitempty"` SimplePointer *string `json:"pointer"` SimpleInteger int `json:"integer"` SimpleIntegerPtr *int `json:"integer_ptr"` Ignored string `json:"-"` }
func (*SimpleStruct) UnmarshalMap ¶
func (s *SimpleStruct) UnmarshalMap(m map[string]interface{}) error
UnmarshalMap takes a map and unmarshals the fieds into the struct
Click to show internal directories.
Click to hide internal directories.