chore: fix typo

This commit is contained in:
Márk Sági-Kazár 2023-03-31 12:38:27 +02:00 committed by GitHub
parent b613dcc32e
commit 0d7edc1f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1107,7 +1107,7 @@ func (v *Viper) Unmarshal(rawVal interface{}, opts ...DecoderConfigOption) error
return decode(v.AllSettings(), defaultDecoderConfig(rawVal, opts...))
}
// defaultDecoderConfig returns default mapsstructure.DecoderConfig with support
// defaultDecoderConfig returns default mapstructure.DecoderConfig with support
// of time.Duration values & string slices
func defaultDecoderConfig(output interface{}, opts ...DecoderConfigOption) *mapstructure.DecoderConfig {
c := &mapstructure.DecoderConfig{