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

Method Dup

expr/types.go:86–86  ·  view source on GitHub ↗

Dup makes a shallow copy of the type and assigns its attribute with att.

(att *AttributeExpr)

Source from the content-addressed store, hash-verified

84 // Dup makes a shallow copy of the type and assigns its
85 // attribute with att.
86 Dup(att *AttributeExpr) UserType
87 // Validate checks that the user type expression is consistent.
88 Validate(ctx string, parent eval.Expression) *eval.ValidationErrors
89 }

Callers 15

PrepareMethod · 0.65
PrepareMethod · 0.65
DupMethod · 0.65
PrepareMethod · 0.65
MergeMethod · 0.65
DupMethod · 0.65
projectSingleFunction · 0.65
DupMethod · 0.65
NewMappedAttributeExprFunction · 0.65
DupAttributeMethod · 0.65
DupTypeMethod · 0.65
DupMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected