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

Function arrayOf

expr/equal_test.go:60–62  ·  view source on GitHub ↗
(dt DataType)

Source from the content-addressed store, hash-verified

58}
59
60func arrayOf(dt DataType) *Array {
61 return &Array{ElemType: &AttributeExpr{Type: dt}}
62}
63
64func mapOf(dt, kt DataType) *Map {
65 return &Map{ElemType: &AttributeExpr{Type: dt}, KeyType: &AttributeExpr{Type: kt}}

Callers 1

TestEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected