Skip to content

Tags: zsien/viper

Tags

v1.2.0

Toggle v1.2.0's commit message
feature: case-sensitive

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

v1.0.1

Toggle v1.0.1's commit message
Release

v1.0.0

Toggle v1.0.0's commit message
Release v1.0.0