Versions in this module Expand all Collapse all v0 v0.0.1 Mar 23, 2016 Changes in this version + func Decode(m interface{}, rawVal interface{}) error + func DecodeHookExec(raw DecodeHookFunc, from reflect.Type, to reflect.Type, data interface{}) (interface{}, error) + func WeakDecode(input, output interface{}) error + func WeaklyTypedHook(f reflect.Kind, t reflect.Kind, data interface{}) (interface{}, error) + type DecodeHookFunc interface + func ComposeDecodeHookFunc(fs ...DecodeHookFunc) DecodeHookFunc + func StringToSliceHookFunc(sep string) DecodeHookFunc + func StringToTimeDurationHookFunc() DecodeHookFunc + type DecodeHookFuncKind func(reflect.Kind, reflect.Kind, interface{}) (interface{}, error) + type DecodeHookFuncType func(reflect.Type, reflect.Type, interface{}) (interface{}, error) + type Decoder struct + func NewDecoder(config *DecoderConfig) (*Decoder, error) + func (d *Decoder) Decode(raw interface{}) error + type DecoderConfig struct + DecodeHook DecodeHookFunc + ErrorUnused bool + Metadata *Metadata + Result interface{} + TagName string + WeaklyTypedInput bool + ZeroFields bool + type Error struct + Errors []string + func (e *Error) Error() string + func (e *Error) WrappedErrors() []error + type Metadata struct + Keys []string + Unused []string