MCPcopy
hub / github.com/labstack/echo / Param

Method Param

context.go:283–285  ·  view source on GitHub ↗

Param returns path parameter by name.

(name string)

Source from the content-addressed store, hash-verified

281
282// Param returns path parameter by name.
283func (c *Context) Param(name string) string {
284 return c.pathValues.GetOr(name, "")
285}
286
287// ParamOr returns the path parameter or default value for the provided name.
288//

Calls 1

GetOrMethod · 0.80