Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SpecialUnmarshalFn ¶
type Unmarshaller ¶
type Unmarshaller struct { Path string // path to the unmarshalled file, used in error reporting // contains filtered or unexported fields }
func NewUnmarshaller ¶
func NewUnmarshaller() *Unmarshaller
func (*Unmarshaller) AddSpecialUnmarshaller ¶
func (u *Unmarshaller) AddSpecialUnmarshaller(selector string, fn SpecialUnmarshalFn)
func (*Unmarshaller) RmSpecialUnmarshaller ¶
func (u *Unmarshaller) RmSpecialUnmarshaller(selector string)
func (*Unmarshaller) Unmarshal ¶
func (u *Unmarshaller) Unmarshal(data []byte, v interface{}) error
Click to show internal directories.
Click to hide internal directories.