PUT is a shortcut for router.Handle(http.MethodPut, path, handle)
(path string, handle Handle)
| 220 | |
| 221 | // PUT is a shortcut for router.Handle(http.MethodPut, path, handle) |
| 222 | func (r *Router) PUT(path string, handle Handle) { |
| 223 | r.Handle(http.MethodPut, path, handle) |
| 224 | } |
| 225 | |
| 226 | // PATCH is a shortcut for router.Handle(http.MethodPatch, path, handle) |
| 227 | func (r *Router) PATCH(path string, handle Handle) { |