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

Struct MappedAttributeExpr

expr/mapped_attribute.go:11–15  ·  view source on GitHub ↗

MappedAttributeExpr is an attribute expression of type object that map the object keys to external names (e.g. HTTP header names).

Source from the content-addressed store, hash-verified

9 // MappedAttributeExpr is an attribute expression of type object that map the
10 // object keys to external names (e.g. HTTP header names).
11 MappedAttributeExpr struct {
12 *AttributeExpr
13 nameMap map[string]string
14 reverseMap map[string]string
15 }
16
17 // MappedAttributeWalker is the type of functions given to WalkMappedAttr.
18 //

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected