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

Method ArrayLength

expr/random.go:126–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124}
125
126func (r *FakerRandomizer) ArrayLength() int {
127 return r.Int()%3 + 2
128}
129func (r *FakerRandomizer) Int() int {
130 return r.rand.Int()
131}

Callers

nothing calls this directly

Calls 1

IntMethod · 0.95

Tested by

no test coverage detected