jaswdr / faker

:rocket: Ultimate fake data generator for Go with zero dependencies
https://pkg.go.dev/github.com/jaswdr/faker
MIT License
549 stars 59 forks source link

Fix Int* and UInt* return only 0s #167

Closed jaswdr closed 7 months ago

jaswdr commented 7 months ago

Description

Change the way Int and UInt are generated to avoid returning only 0s.

Are you trying to fix an existing issue?

fixes #164

Go Version

$ go version
go version go1.21.6 linux/amd64

Go Tests

$  go test ./...
ok      github.com/jaswdr/faker/v2