Skip to content

Tags: woshizilong/viper

Tags

v1.4.0

Toggle v1.4.0's commit message
Clean up dependencies

This commit was created by manually removing github.com/ugorji/go/codec from
the go.mod (which now does not exist - see ugorji/go#299)
and running `go mod tidy`.

Closes spf13#658

v1.3.2

Toggle v1.3.2's commit message
Remove superflous insensitiviseMaps in Unmarshal methods

Fixes spf13#482

v1.3.1

Toggle v1.3.1's commit message

Verified

This commit was signed with the committer’s verified signature.
bep Bjørn Erik Pedersen
Make the map in MergeConfigMap case insensitive

v1.3.0

Toggle v1.3.0's commit message
Restrict Travis to >= Go 1.11, use Go Modules, and get the test to pass

v1.2.1

Toggle v1.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix nil pointer on watch function (spf13#568)

v1.1.1

Toggle v1.1.1's commit message

Verified

This commit was signed with the committer’s verified signature.
andrewstuart Andrew Stuart
Fix nil pointer on watch function (spf13#568)

v1.0.3

Toggle v1.0.3's commit message

Verified

This commit was signed with the committer’s verified signature.
andrewstuart Andrew Stuart
Fix nil pointer on watch function (spf13#568)

v1.2.0

Toggle v1.2.0's commit message
Release

v1.1.0

Toggle v1.1.0's commit message
Support customising mapstructure.DecoderConfig for Unmarshal

* Added a new `DecoderConfigOption` type allowing the user to write custom
  functions that can override the default mapstructure.DecoderConfig
  settings

* Added a new `DecodeHook` function which returns
  a `DecoderConfigOption`. This allows the user to easily set their own
  Decode hooks when Unmarshaling

* Updated Unmarshal, UnmarshalKey and defaultDecoderConfig to support variadic
  trailing `DecoderConfigOption` functions to allow for customisation of
  the default  mapstructure.DecoderConfig

* Added a test case with example usage

v1.0.2

Toggle v1.0.2's commit message
Release