typo: slice type needed
diff --git a/viper.go b/viper.go index 639cf3b..ce86ce3 100644 --- a/viper.go +++ b/viper.go
@@ -466,7 +466,7 @@ } // Returns the value associated with the key as a map to a slice of strings -func GetStringMapStringSlice(key string) map[string]string { return v.GetStringMapStringSlice(key) } +func GetStringMapStringSlice(key string) map[string][]string { return v.GetStringMapStringSlice(key) } func (v *Viper) GetStringMapStringSlice(key string) map[string]string { return cast.ToStringMapStringSlice(v.Get(key)) }