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

Method GoTypeName

codegen/scope.go:278–280  ·  view source on GitHub ↗

GoTypeName returns the Go type name of the given attribute type.

(att *expr.AttributeExpr)

Source from the content-addressed store, hash-verified

276
277// GoTypeName returns the Go type name of the given attribute type.
278func (s *NameScope) GoTypeName(att *expr.AttributeExpr) string {
279 return s.GoFullTypeName(att, "")
280}
281
282// GoTypeNameWithDefaults returns the Go type name of the given attribute type.
283// The result of this function differs from GoTypeName when the attribute type

Callers 15

GoTypeRefMethod · 0.95
goTypeDefFunction · 0.80
analyzeMethod · 0.80
buildPayloadDataMethod · 0.80
buildRequestBodyTypeMethod · 0.80
buildResponseBodyTypeMethod · 0.80
extractPathParamsMethod · 0.80
extractQueryParamsMethod · 0.80

Calls 1

GoFullTypeNameMethod · 0.95