mirror of
https://github.com/spf13/viper
synced 2025-01-10 04:36:38 +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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// defaultDecoderConfig returns default mapsstructure.DecoderConfig with suppot
|
// defaultDecoderConfig returns default mapsstructure.DecoderConfig with support
|
||||||
// of time.Duration values
|
// of time.Duration values
|
||||||
func defaultDecoderConfig(output interface{}) *mapstructure.DecoderConfig {
|
func defaultDecoderConfig(output interface{}) *mapstructure.DecoderConfig {
|
||||||
return &mapstructure.DecoderConfig{
|
return &mapstructure.DecoderConfig{
|
||||||
|
|
Loading…
Reference in a new issue