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

Function ExampleFaker_Number

number_test.go:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func ExampleFaker_Number() {
16 f := New(11)
17 fmt.Println(f.Number(50, 23456))
18
19 // Output: 21019
20}
21
22func BenchmarkNumber(b *testing.B) {
23 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 2

NewFunction · 0.85
NumberMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…