Patch defines a PATCH request route for the given pattern.
(pattern string)
| 232 | |
| 233 | // Patch defines a PATCH request route for the given pattern. |
| 234 | func (api *API) Patch(pattern string) (r *Route) { |
| 235 | return api.Route(http.MethodPatch, pattern) |
| 236 | } |
| 237 | |
| 238 | // Delete defines a DELETE request route for the given pattern. |
| 239 | func (api *API) Delete(pattern string) (r *Route) { |