Versions in this module Expand all Collapse all v0 v0.6.1 Apr 27, 2024 v0.6.0 Dec 24, 2023 Changes in this version + var ErrUnsupportedFieldType = errors.New("unsupported field type") + func MapToStruct(st any, data map[string]any) error + func StructToMap(st any) (map[string]any, error) + type AsciiTime time.Time + func (m *AsciiTime) Time() time.Time + func (m *AsciiTime) UnmarshalBinary(text []byte) error + func (m AsciiTime) MarshalBinary() (text []byte, err error) + type ConvertibleFrom interface + FromMap func(map[string]any) error + type ConvertibleTo interface + ToMap func() (map[string]any, error) + type FieldParseError struct + Err error + Field string + Value any + func (fpe FieldParseError) Error() string + func (fpe FieldParseError) Unwrap() error + type Metadata map[string]any + func (m *Metadata) UnmarshalBinary(text []byte) error + func (m Metadata) MarshalBinary() (text []byte, err error) + type SerializeError struct + Err error + Field string + Value any + func (se SerializeError) Error() string + func (se SerializeError) Unwrap() error