GetVariableKey 从环境变量标准格式${abc}中取得key abc
(s string)
| 102 | |
| 103 | // GetVariableKey 从环境变量标准格式${abc}中取得key abc |
| 104 | func GetVariableKey(s string) string { |
| 105 | return variableRegexp.ReplaceAllString(s, "$1") |
| 106 | } |
| 107 | |
| 108 | // GetFilterAppKey 从标准格式appkey{abc}中取得key abc |
| 109 | func GetFilterAppKey(s string) string { |
nothing calls this directly
no outgoing calls
no test coverage detected