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

Method EvalName

expr/http_endpoint.go:994–996  ·  view source on GitHub ↗

EvalName returns the generic definition name used in error messages.

()

Source from the content-addressed store, hash-verified

992
993// EvalName returns the generic definition name used in error messages.
994func (r *RouteExpr) EvalName() string {
995 return fmt.Sprintf(`route %s %q of %s`, r.Method, r.Path, r.Endpoint.EvalName())
996}
997
998// Validate validates a route expression by ensuring that the route parameters
999// can be inferred from the method payload and there is no duplicate parameters

Callers

nothing calls this directly

Calls 1

EvalNameMethod · 0.65

Tested by

no test coverage detected