mirror of
https://github.com/spf13/viper
synced 2024-12-22 11:37:02 +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,
|
||||
Result: output,
|
||||
WeaklyTypedInput: true,
|
||||
DecodeHook: mapstructure.ComposeDecodeHookFunc(
|
||||
DecodeHook: mapstructure.ComposeDecodeHookFunc(
|
||||
mapstructure.StringToTimeDurationHookFunc(),
|
||||
mapstructure.StringToSliceHookFunc(","),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue