open-consul/lib/decode
Daniel Nephin 7ffd1560aa lib/decode: fix hook to work with embedded squash struct
The decode hook is not call for the embedded squashed struct, so we need to recurse when we
find squash tags.

See https://github.com/mitchellh/mapstructure/issues/226
2021-09-22 13:22:16 -04:00
..
decode.go lib/decode: fix hook to work with embedded squash struct 2021-09-22 13:22:16 -04:00
decode_test.go lib/decode: fix hook to work with embedded squash struct 2021-09-22 13:22:16 -04:00