GetString gets a key from global runtime
(key string)
| 77 | |
| 78 | // GetString gets a key from global runtime |
| 79 | func GetString(key string) string { |
| 80 | if l, o := legacyMap[key]; o && !r.IsSet(key) && r.IsSet(l) { |
| 81 | return r.GetString(l) |
| 82 | } |
| 83 | return r.GetString(key) |
| 84 | } |
| 85 | |
| 86 | // GetStringSlice gets a slice from global runtime. |
| 87 | func GetStringSlice(key string) []string { |
no test coverage detected
searching dependent graphs…