Versions in this module Expand all Collapse all v1 v1.1.4 Jan 13, 2021 v1.1.3 Jan 13, 2021 Changes in this version + var ErrUnsupportedType = errors.New("only map-like configs are suported") + func Deref(t reflect.Type) reflect.Type + func Repr(v interface{}) string + func UnmarshalJsonBytes(content []byte, v interface{}) error + func UnmarshalJsonReader(reader io.Reader, v interface{}) error + func UnmarshalKey(m map[string]interface{}, 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 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)