Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 963925d

Browse files
author
Veiko Kääp
committed
fix typo in documentation
Rename DecodeHookFuncRaw to DecodeHookFuncValue
1 parent 4664f9e commit 963925d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapstructure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ type DecodeHookFuncType func(reflect.Type, reflect.Type, interface{}) (interface
192192
// source and target types.
193193
type DecodeHookFuncKind func(reflect.Kind, reflect.Kind, interface{}) (interface{}, error)
194194

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

0 commit comments

Comments
 (0)