mirror of
https://github.com/spf13/viper.git
synced 2026-10-19 16:15:33 +00:00
fixing second slice type needed
This commit is contained in:
@@ -467,7 +467,7 @@ func (v *Viper) GetStringMapString(key string) map[string]string {
|
||||
|
||||
// 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 (v *Viper) GetStringMapStringSlice(key string) map[string]string {
|
||||
func (v *Viper) GetStringMapStringSlice(key string) map[string][]string {
|
||||
return cast.ToStringMapStringSlice(v.Get(key))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user