Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@willhug willhug released this 24 May 23:13
· 9 commits to master since this release
  • Implement FieldHooks natively in mapstructure

  • Breaking: Changed function signature of FieldHook to remove unecessary
    from parameter.

    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)