diff --git a/koanf.go b/koanf.go index 70d872df..8e575de8 100644 --- a/koanf.go +++ b/koanf.go @@ -252,7 +252,6 @@ func (ko *Koanf) UnmarshalWithConf(path string, o interface{}, c UnmarshalConf) c.DecoderConfig = &mapstructure.DecoderConfig{ DecodeHook: mapstructure.ComposeDecodeHookFunc( mapstructure.StringToTimeDurationHookFunc(), - mapstructure.StringToSliceHookFunc(","), textUnmarshalerHookFunc()), Metadata: nil, Result: o,