Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedFieldType = errors.New("unsupported field type")
Functions ¶
func MapToStruct ¶
mapToStruct tries to convert a map to a struct.
Types ¶
type ConvertibleFrom ¶
ConvertibleFrom is implemented by types that can load themselves from a map.
type ConvertibleTo ¶
ConvertibleTo is implemented by types that can convert themselves to a map.
type FieldParseError ¶
FieldParseError is returned by the default parser if data for a field is present: - but its not assignable - or the field is of an unsupported type
func (FieldParseError) Error ¶
func (fpe FieldParseError) Error() string
func (FieldParseError) Unwrap ¶
func (fpe FieldParseError) Unwrap() error
type SerializeError ¶
func (SerializeError) Error ¶
func (se SerializeError) Error() string
func (SerializeError) Unwrap ¶
func (se SerializeError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.