Exemplo n.º 1
0
Arquivo: viper.go Projeto: DLag/viper
func (v *Viper) GetStringMapStringSlice(key string) map[string][]string {
	return cast.ToStringMapStringSlice(v.Get(key))
}
Exemplo n.º 2
0
// Returns the value associated with the key as a map to a slice of strings.
func (c RawConfig) GetStringMapStringSlice(key string) map[string][]string {
	return cast.ToStringMapStringSlice(c.Get(key))
}