GET implements `Echo#GET()` for sub-routes within the Group. Panics on error.
(path string, h HandlerFunc, m ...MiddlewareFunc)
| 35 | |
| 36 | // GET implements `Echo#GET()` for sub-routes within the Group. Panics on error. |
| 37 | func (g *Group) GET(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |
| 38 | return g.Add(http.MethodGet, path, h, m...) |
| 39 | } |
| 40 | |
| 41 | // HEAD implements `Echo#HEAD()` for sub-routes within the Group. Panics on error. |
| 42 | func (g *Group) HEAD(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |