MCPcopy Index your code
hub / github.com/labstack/echo / PATCH

Method PATCH

group.go:52–54  ·  view source on GitHub ↗

PATCH implements `Echo#PATCH()` for sub-routes within the Group. Panics on error.

(path string, h HandlerFunc, m ...MiddlewareFunc)

Source from the content-addressed store, hash-verified

50
51// PATCH implements `Echo#PATCH()` for sub-routes within the Group. Panics on error.
52func (g *Group) PATCH(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo {
53 return g.Add(http.MethodPatch, path, h, m...)
54}
55
56// POST implements `Echo#POST()` for sub-routes within the Group. Panics on error.
57func (g *Group) POST(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected