this is required during looping to preserve the original set of params in the outer routes
(to, from map[string]string)
| 125 | // this is required during looping to preserve the original set of |
| 126 | // params in the outer routes |
| 127 | func appendParams(to, from map[string]string) map[string]string { |
| 128 | if to == nil { |
| 129 | to = make(map[string]string) |
| 130 | } |
| 131 | |
| 132 | for k, v := range from { |
| 133 | to[k] = v |
| 134 | } |
| 135 | |
| 136 | return to |
| 137 | } |
| 138 | |
| 139 | func newContext( |
| 140 | w flushedResponseWriter, |
no outgoing calls
no test coverage detected
searching dependent graphs…