GetStringSlice gets a slice from global runtime.
(key string)
| 85 | |
| 86 | // GetStringSlice gets a slice from global runtime. |
| 87 | func GetStringSlice(key string) []string { |
| 88 | if l, o := legacyMap[key]; o && !r.IsSet(key) && r.IsSet(l) { |
| 89 | return r.GetStringSlice(l) |
| 90 | } |
| 91 | return r.GetStringSlice(key) |
| 92 | } |
| 93 | |
| 94 | // SetDefault updates global runtime |
| 95 | func SetDefault(key string, value interface{}) { |
no test coverage detected
searching dependent graphs…