mirror of
https://github.com/spf13/viper
synced 2024-11-16 18:07:02 +00:00
Fix small lint issues
This commit is contained in:
parent
0967fc9ace
commit
02eb49d4bd
1 changed files with 2 additions and 2 deletions
2
viper.go
2
viper.go
|
@ -746,7 +746,7 @@ func (v *Viper) Unmarshal(rawVal interface{}) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// defaultDecoderConfig returns default mapsstructure.DecoderConfig with suppot
|
||||
// defaultDecoderConfig returns default mapsstructure.DecoderConfig with support
|
||||
// of time.Duration values
|
||||
func defaultDecoderConfig(output interface{}) *mapstructure.DecoderConfig {
|
||||
return &mapstructure.DecoderConfig{
|
||||
|
|
Loading…
Reference in a new issue