GET is a shortcut for router.Handle("GET", path, handlers).
(relativePath string, handlers ...HandlerFunc)
| 114 | |
| 115 | // GET is a shortcut for router.Handle("GET", path, handlers). |
| 116 | func (group *RouterGroup) GET(relativePath string, handlers ...HandlerFunc) IRoutes { |
| 117 | return group.handle(http.MethodGet, relativePath, handlers) |
| 118 | } |
| 119 | |
| 120 | // DELETE is a shortcut for router.Handle("DELETE", path, handlers). |
| 121 | func (group *RouterGroup) DELETE(relativePath string, handlers ...HandlerFunc) IRoutes { |
no test coverage detected