Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goadesign/goa
/ Int
Method
Int
expr/random.go:129–131 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
127
return
r.Int()%3 + 2
128
}
129
func
(r *FakerRandomizer) Int() int {
130
return
r.rand.Int()
131
}
132
func
(r *FakerRandomizer) Int32() int32 {
133
return
r.rand.Int31()
134
}
Callers
1
ArrayLength
Method · 0.95
Calls
1
Int
Method · 0.65
Tested by
no test coverage detected