With returns a new manager with added alternating key values. Note: manager is immutable. With Creates a new instance.
(parts ...string)
| 70 | // With returns a new manager with added alternating key values. |
| 71 | // Note: manager is immutable. With Creates a new instance. |
| 72 | func (k manager) With(parts ...string) manager { |
| 73 | newKeyManager := manager{} |
| 74 | newKeyManager.Prefixes = append(k.Prefixes, parts...) |
| 75 | return newKeyManager |
| 76 | } |
| 77 | |
| 78 | // With returns a new manager with added alternating key values. |
| 79 | // Note: manager is immutable. With Creates a new instance. |
no outgoing calls
no test coverage detected