(ns string, keyType string, key string)
| 68 | } |
| 69 | |
| 70 | func withNamespace(ns string, keyType string, key string) string { |
| 71 | k := ns |
| 72 | if keyType != "" { |
| 73 | k = fmt.Sprintf("%s:%s", k, keyType) |
| 74 | } |
| 75 | if key != "" { |
| 76 | k = fmt.Sprintf("%s:%s", k, key) |
| 77 | } |
| 78 | return k |
| 79 | } |
no outgoing calls
no test coverage detected