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

Method goTypeDef

codegen/scope.go:239–241  ·  view source on GitHub ↗
(att *expr.AttributeExpr, ptr, useDefault bool, pkg string)

Source from the content-addressed store, hash-verified

237}
238
239func (s *NameScope) goTypeDef(att *expr.AttributeExpr, ptr, useDefault bool, pkg string) string {
240 return s.goTypeDefWithPkgOverride(att, ptr, useDefault, pkg, "")
241}
242
243// GoVar returns the Go code that returns the address of a variable of the Go type
244// which matches the given attribute type.

Callers 1

GoTypeDefMethod · 0.95

Calls 1

Tested by

no test coverage detected