MCPcopy Create free account
hub / github.com/goadesign/goa / PATCH

Function PATCH

dsl/http.go:331–333  ·  view source on GitHub ↗

PATCH creates a route using the PATCH HTTP method. See GET.

(path string)

Source from the content-addressed store, hash-verified

329
330// PATCH creates a route using the PATCH HTTP method. See GET.
331func PATCH(path string) *expr.RouteExpr {
332 return route("PATCH", path)
333}
334
335func route(method, path string) *expr.RouteExpr {
336 r := &expr.RouteExpr{Method: method, Path: path}

Callers

nothing calls this directly

Calls 1

routeFunction · 0.85

Tested by

no test coverage detected