DELETE is a shortcut for router.Handle("DELETE", path, handlers).
(relativePath string, handlers ...HandlerFunc)
| 119 | |
| 120 | // DELETE is a shortcut for router.Handle("DELETE", path, handlers). |
| 121 | func (group *RouterGroup) DELETE(relativePath string, handlers ...HandlerFunc) IRoutes { |
| 122 | return group.handle(http.MethodDelete, relativePath, handlers) |
| 123 | } |
| 124 | |
| 125 | // PATCH is a shortcut for router.Handle("PATCH", path, handlers). |
| 126 | func (group *RouterGroup) PATCH(relativePath string, handlers ...HandlerFunc) IRoutes { |