DockerCLI/vendor/github.com/go-viper/mapstructure/v2/internal/errors
Sebastiaan van Stijn bc2e274782
vendor: migrate to github.com/go-viper/mapstructure/v2 v2.0.0
github.com/mitchellh/mapstructure will no longer be maintained by the author,
and github.com/go-viper/mapstructure is nominated as the endorsed fork.

- v1.x changes since last release from mitchellh: https://github.com/go-viper/mapstructure/compare/v1.5.0...v1.6.0
- v2.0 changes: https://github.com/go-viper/mapstructure/compare/v1.6.0...v2.0.0

Breaking changes

Error is removed in favor of errors.Join (backported from Go 1.20 to preserve
compatibility with earlier versions)

What's Changed

- feat!: update module path
- build: update dev env
- feature: add StringToBasicTypeHookFunc and support complex
- Add an example showing how to use a DecodeHookFunc to parse a custom field.
- Remove exposed error type
- Replace internal joined error with errors.Join

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-06 00:05:45 +02:00
..
errors.go vendor: migrate to github.com/go-viper/mapstructure/v2 v2.0.0 2024-06-06 00:05:45 +02:00
join.go vendor: migrate to github.com/go-viper/mapstructure/v2 v2.0.0 2024-06-06 00:05:45 +02:00
join_go1_19.go vendor: migrate to github.com/go-viper/mapstructure/v2 v2.0.0 2024-06-06 00:05:45 +02:00