GET is a shortcut for router.Handle("GET", path, handle)
(relativePath string, handlers ...gin.HandlerFunc)
| 64 | |
| 65 | // GET is a shortcut for router.Handle("GET", path, handle) |
| 66 | func GET(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { |
| 67 | return engine().GET(relativePath, handlers...) |
| 68 | } |
| 69 | |
| 70 | // DELETE is a shortcut for router.Handle("DELETE", path, handle) |
| 71 | func DELETE(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { |