mirror of https://github.com/spf13/viper.git
fixing second slice type needed
This commit is contained in:
parent
e7be87777c
commit
dd94a73d72
2
viper.go
2
viper.go
|
@ -457,7 +457,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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue