mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
Go fmt viper.go
This commit is contained in:
parent
266e588e9e
commit
d9cca5ef33
1 changed files with 1 additions and 1 deletions
2
viper.go
2
viper.go
|
@ -753,7 +753,7 @@ func defaultDecoderConfig(output interface{}) *mapstructure.DecoderConfig {
|
||||||
Metadata: nil,
|
Metadata: nil,
|
||||||
Result: output,
|
Result: output,
|
||||||
WeaklyTypedInput: true,
|
WeaklyTypedInput: true,
|
||||||
DecodeHook: mapstructure.ComposeDecodeHookFunc(
|
DecodeHook: mapstructure.ComposeDecodeHookFunc(
|
||||||
mapstructure.StringToTimeDurationHookFunc(),
|
mapstructure.StringToTimeDurationHookFunc(),
|
||||||
mapstructure.StringToSliceHookFunc(","),
|
mapstructure.StringToSliceHookFunc(","),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue