This repository was archived by the owner on Oct 2, 2020. It is now read-only.
v0.3.0
Pre-release
Pre-release
-
Implement
FieldHooks natively in mapstructure -
Breaking: Changed function signature of
FieldHookto remove unecessary
fromparameter.Before:
func(from reflect.Type, to reflect.StructField, data reflect.Value) (reflect.Value, error)
After:
func(dest reflect.StructField, srcData reflect.Value) (reflect.Value, error)