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

Function mapOf

expr/equal_test.go:64–66  ·  view source on GitHub ↗
(dt, kt DataType)

Source from the content-addressed store, hash-verified

62}
63
64func mapOf(dt, kt DataType) *Map {
65 return &Map{ElemType: &AttributeExpr{Type: dt}, KeyType: &AttributeExpr{Type: kt}}
66}
67
68func object(dts ...DataType) *Object {
69 var obj Object = make([]*NamedAttributeExpr, len(dts))

Callers 1

TestEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected