---------------------------------------------------------------------------- Route attributes ---------------------------------------------------------------------------- GetError returns an error resulted from building the route, if any.
()
| 113 | |
| 114 | // GetError returns an error resulted from building the route, if any. |
| 115 | func (r *Route) GetError() error { |
| 116 | return r.err |
| 117 | } |
| 118 | |
| 119 | // BuildOnly sets the route to never match: it is only used to build URLs. |
| 120 | func (r *Route) BuildOnly() *Route { |
no outgoing calls