PATCH creates a route using the PATCH HTTP method. See GET.
(path string)
| 329 | |
| 330 | // PATCH creates a route using the PATCH HTTP method. See GET. |
| 331 | func PATCH(path string) *expr.RouteExpr { |
| 332 | return route("PATCH", path) |
| 333 | } |
| 334 | |
| 335 | func route(method, path string) *expr.RouteExpr { |
| 336 | r := &expr.RouteExpr{Method: method, Path: path} |