MCPcopy
hub / github.com/brianvoe/gofakeit / number

Function number

number.go:14–14  ·  view source on GitHub ↗
(f *Faker, min int, max int)

Source from the content-addressed store, hash-verified

12func (f *Faker) Number(min int, max int) int { return number(f, min, max) }
13
14func number(f *Faker, min int, max int) int { return randIntRange(f, min, max) }
15
16// Uint will generate a random uint value
17func Uint() uint { return uintFunc(GlobalFaker) }

Callers 15

sloganFunction · 0.85
urlFunction · 0.85
connectiveFunction · 0.85
bitcoinAddressFunction · 0.85
svgFunction · 0.85
NumberFunction · 0.85
NumberMethod · 0.85
addNumberLookupFunction · 0.85
adjectiveFunction · 0.85
gamertagFunction · 0.85
diceFunction · 0.85
prepositionFunction · 0.85

Calls 1

randIntRangeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…