MCPcopy
hub / github.com/gin-gonic/gin / DELETE

Method DELETE

routergroup.go:121–123  ·  view source on GitHub ↗

DELETE is a shortcut for router.Handle("DELETE", path, handlers).

(relativePath string, handlers ...HandlerFunc)

Source from the content-addressed store, hash-verified

119
120// DELETE is a shortcut for router.Handle("DELETE", path, handlers).
121func (group *RouterGroup) DELETE(relativePath string, handlers ...HandlerFunc) IRoutes {
122 return group.handle(http.MethodDelete, relativePath, handlers)
123}
124
125// PATCH is a shortcut for router.Handle("PATCH", path, handlers).
126func (group *RouterGroup) PATCH(relativePath string, handlers ...HandlerFunc) IRoutes {

Callers

nothing calls this directly

Calls 1

handleMethod · 0.95

Tested by

no test coverage detected