DELETE is a shortcut for router.Handle("DELETE", path, handle)
(relativePath string, handlers ...gin.HandlerFunc)
| 69 | |
| 70 | // DELETE is a shortcut for router.Handle("DELETE", path, handle) |
| 71 | func DELETE(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { |
| 72 | return engine().DELETE(relativePath, handlers...) |
| 73 | } |
| 74 | |
| 75 | // PATCH is a shortcut for router.Handle("PATCH", path, handle) |
| 76 | func PATCH(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { |