Get returns a route registered with the given name.
(name string)
| 214 | |
| 215 | // Get returns a route registered with the given name. |
| 216 | func (r *Router) Get(name string) *Route { |
| 217 | return r.namedRoutes[name] |
| 218 | } |
| 219 | |
| 220 | // GetRoute returns a route registered with the given name. This method |
| 221 | // was renamed to Get() and remains here for backwards compatibility. |
no outgoing calls