Versions in this module Expand all Collapse all v0 v0.0.1 May 17, 2022 Changes in this version + var ErrUnsupportedType = errors.New("only map-like configs are supported") + func Deref(t reflect.Type) reflect.Type + func Marshal(val interface{}) (map[string]map[string]interface{}, error) + func Repr(v interface{}) string + func UnmarshalJsonBytes(content []byte, v interface{}) error + func UnmarshalJsonMap(m map[string]interface{}, v interface{}) error + func UnmarshalJsonReader(reader io.Reader, v interface{}) error + func UnmarshalKey(m map[string]interface{}, v interface{}) error + func UnmarshalTomlBytes(content []byte, v interface{}) error + func UnmarshalTomlReader(r io.Reader, v interface{}) error + func UnmarshalYamlBytes(content []byte, v interface{}) error + func UnmarshalYamlReader(reader io.Reader, v interface{}) error + func ValidatePtr(v *reflect.Value) error + type MapValuer map[string]interface + func (mv MapValuer) Value(key string) (interface{}, bool) + type UnmarshalOption func(*unmarshalOptions) + func WithCanonicalKeyFunc(f func(string) string) UnmarshalOption + func WithStringValues() UnmarshalOption + type Unmarshaler struct + func NewUnmarshaler(key string, opts ...UnmarshalOption) *Unmarshaler + func (u *Unmarshaler) Unmarshal(m map[string]interface{}, v interface{}) error + func (u *Unmarshaler) UnmarshalValuer(m Valuer, v interface{}) error + type Valuer interface + Value func(key string) (interface{}, bool)