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

Method Field

codegen/transformer.go:22–22  ·  view source on GitHub ↗

Field generates a valid data structure field identifier for the given attribute and field name. If firstUpper is true then the field name first letter is capitalized.

(att *expr.AttributeExpr, name string, firstUpper bool)

Source from the content-addressed store, hash-verified

20 // attribute and field name. If firstUpper is true then the field name
21 // first letter is capitalized.
22 Field(att *expr.AttributeExpr, name string, firstUpper bool) string
23 }
24
25 // AttributeContext contains properties which impacts the code generating

Callers 5

transformObjectFunction · 0.65
transformUnionToProtoFunction · 0.65
transformUnionFromProtoFunction · 0.65
transformUnionDataFunction · 0.65
recurseValidationCodeFunction · 0.65

Implementers 2

protoBufScopegrpc/codegen/protobuf.go
AttributeScopecodegen/transformer.go

Calls

no outgoing calls

Tested by

no test coverage detected