Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
60
func
arrayOf(dt DataType) *Array {
61
return
&Array{ElemType: &AttributeExpr{Type: dt}}
62
}
63
64
func
mapOf(dt, kt DataType) *Map {
65
return
&Map{ElemType: &AttributeExpr{Type: dt}, KeyType: &AttributeExpr{Type: kt}}
Callers
1
TestEqual
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected