GetStringSliceIsFlagSet returns a config value as a string slice and a bool representing the existence of the flag.
(ns, key string)
| 448 | |
| 449 | // GetStringSliceIsFlagSet returns a config value as a string slice and a bool representing the existence of the flag. |
| 450 | func (c *LiveConfig) GetStringSliceIsFlagSet(ns, key string) ([]string, bool, error) { |
| 451 | if !c.IsSet(key) { |
| 452 | return nil, false, nil |
| 453 | } |
| 454 | strSlice, err := c.GetStringSlice(ns, key) |
| 455 | return strSlice, true, err |
| 456 | } |
| 457 | |
| 458 | // GetStringMapString returns a config value as a string to string map. |
| 459 | func (c *LiveConfig) GetStringMapString(ns, key string) (map[string]string, error) { |
nothing calls this directly
no test coverage detected