GetFilterAppKey 从标准格式appkey{abc}中取得key abc
(s string)
| 107 | |
| 108 | // GetFilterAppKey 从标准格式appkey{abc}中取得key abc |
| 109 | func GetFilterAppKey(s string) string { |
| 110 | return filterAppKeyRegexp.ReplaceAllString(s, "$1") |
| 111 | } |
| 112 | |
| 113 | func SetFilterAppKey(key string) string { |
| 114 | return fmt.Sprintf("appkey{%s}", key) |
nothing calls this directly
no outgoing calls
no test coverage detected