fixing second slice type needed

This commit is contained in:
jackspirou 2015-07-30 15:46:38 -05:00 committed by spf13
parent d028fd65ba
commit 09ba0a6954
1 changed files with 1 additions and 1 deletions

View File

@ -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 // 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 { func (v *Viper) GetStringMapStringSlice(key string) map[string][]string {
return cast.ToStringMapStringSlice(v.Get(key)) return cast.ToStringMapStringSlice(v.Get(key))
} }