Skip to content

Commit

Permalink
fix typo in documentation
Browse files Browse the repository at this point in the history
Rename DecodeHookFuncRaw to DecodeHookFuncValue
  • Loading branch information
Veiko Kääp committed May 4, 2021
1 parent 4664f9e commit 963925d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapstructure.go
Expand Up @@ -192,7 +192,7 @@ type DecodeHookFuncType func(reflect.Type, reflect.Type, interface{}) (interface
// source and target types.
type DecodeHookFuncKind func(reflect.Kind, reflect.Kind, interface{}) (interface{}, error)

// DecodeHookFuncRaw is a DecodeHookFunc which has complete access to both the source and target
// DecodeHookFuncValue is a DecodeHookFunc which has complete access to both the source and target
// values.
type DecodeHookFuncValue func(from reflect.Value, to reflect.Value) (interface{}, error)

Expand Down

0 comments on commit 963925d

Please sign in to comment.