From c6ba8f4702e5427f244d7b1c7fdf42b0c81edbe8 Mon Sep 17 00:00:00 2001 From: Yoofi Quansah Date: Tue, 14 Mar 2023 14:08:08 -0500 Subject: [PATCH] fix: fix typo --- viper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viper.go b/viper.go index fa6f3e3..cf70940 100644 --- a/viper.go +++ b/viper.go @@ -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{