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

Method FormValue

context.go:397–399  ·  view source on GitHub ↗

FormValue returns the form field value for the provided name.

(name string)

Source from the content-addressed store, hash-verified

395
396// FormValue returns the form field value for the provided name.
397func (c *Context) FormValue(name string) string {
398 return c.request.FormValue(name)
399}
400
401// FormValueOr returns the form field value or default value for the provided name.
402// Note: FormValueOr does not distinguish if form had no value by that name or value was empty string

Callers 10

TestContextFormValueFunction · 0.95
FormValueOrMethod · 0.95
FormFieldBinderFunction · 0.80
MethodFromFormFunction · 0.80
TestToContext_FormValuesFunction · 0.80

Calls

no outgoing calls