fix: fix typo

This commit is contained in:
Yoofi Quansah 2023-03-14 14:08:08 -05:00 committed by Márk Sági-Kazár
parent 3970ad177e
commit c6ba8f4702
1 changed files with 1 additions and 1 deletions

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 suppot
// defaultDecoderConfig returns default mapsstructure.DecoderConfig with support
// of time.Duration values & string slices
func defaultDecoderConfig(output interface{}, opts ...DecoderConfigOption) *mapstructure.DecoderConfig {
c := &mapstructure.DecoderConfig{