Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goadesign/goa
/ Bool
Method
Bool
expr/random.go:141–143 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
139
return
r.faker.Sentence(2, false)
140
}
141
func
(r *FakerRandomizer) Bool() bool {
142
return
r.rand.Int()%2 == 0
143
}
144
func
(r *FakerRandomizer) Float32() float32 {
145
return
r.rand.Float32()
146
}
Callers
nothing calls this directly
Calls
1
Int
Method · 0.65
Tested by
no test coverage detected