SetPathValues sets path parameters for current request.
(pathValues PathValues)
| 303 | |
| 304 | // SetPathValues sets path parameters for current request. |
| 305 | func (c *Context) SetPathValues(pathValues PathValues) { |
| 306 | if pathValues == nil { |
| 307 | panic("context SetPathValues called with nil PathValues") |
| 308 | } |
| 309 | c.setPathValues(&pathValues) |
| 310 | } |
| 311 | |
| 312 | // InitializeRoute sets the route related variables of this request to the context. |
| 313 | func (c *Context) InitializeRoute(ri *RouteInfo, pathValues *PathValues) { |