()
| 271 | } |
| 272 | |
| 273 | func (c *context) clone() *context { |
| 274 | cc := *c |
| 275 | |
| 276 | // preserve the original path params by cloning the set: |
| 277 | cc.pathParams = appendParams(nil, c.pathParams) |
| 278 | |
| 279 | return &cc |
| 280 | } |
| 281 | |
| 282 | func (c *context) wasExecuted() bool { |
| 283 | return c.executionCounter != 0 |
no test coverage detected