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

Function NewEmptyMappedAttributeExpr

expr/mapped_attribute.go:27–29  ·  view source on GitHub ↗

NewEmptyMappedAttributeExpr creates an empty mapped attribute expression.

()

Source from the content-addressed store, hash-verified

25
26// NewEmptyMappedAttributeExpr creates an empty mapped attribute expression.
27func NewEmptyMappedAttributeExpr() *MappedAttributeExpr {
28 return NewMappedAttributeExpr(&AttributeExpr{Type: &Object{}})
29}
30
31// NewMappedAttributeExpr instantiates a mapped attribute expression for the
32// given attribute. The type of att must be Object.

Callers 9

TestBuildPathFromExprFunction · 0.92
headersFunction · 0.92
cookiesFunction · 0.92
paramsFunction · 0.92
PrepareMethod · 0.85
PrepareMethod · 0.85
PrepareMethod · 0.85
PrepareMethod · 0.85
NewMappedAttributeExprFunction · 0.85

Calls 1

NewMappedAttributeExprFunction · 0.85

Tested by 1

TestBuildPathFromExprFunction · 0.74