IsAbsolute returns true if the endpoint path should not be concatenated to the service and API base paths.
()
| 1104 | // IsAbsolute returns true if the endpoint path should not be concatenated to |
| 1105 | // the service and API base paths. |
| 1106 | func (r *RouteExpr) IsAbsolute() bool { |
| 1107 | return strings.HasPrefix(r.Path, "//") |
| 1108 | } |
| 1109 | |
| 1110 | // initAttr initializes the given mapped attribute with the given service |
| 1111 | // attribute. |
no outgoing calls
no test coverage detected