PATCH is a shortcut for router.Handle(http.MethodPatch, path, handle)
(path string, handle Handle)
| 225 | |
| 226 | // PATCH is a shortcut for router.Handle(http.MethodPatch, path, handle) |
| 227 | func (r *Router) PATCH(path string, handle Handle) { |
| 228 | r.Handle(http.MethodPatch, path, handle) |
| 229 | } |
| 230 | |
| 231 | // DELETE is a shortcut for router.Handle(http.MethodDelete, path, handle) |
| 232 | func (r *Router) DELETE(path string, handle Handle) { |