Skip to content

Commit

Permalink
- uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
Luoxin committed Sep 16, 2021
1 parent 599e093 commit fb0777f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions faker.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ func (f *Faker) Unt32Between(min, max uint32) uint32 {
return uint32(f.IntBetween(int(min), int(max)))
}

func (f *Faker) Unt64Between(min, max uint64) uint64 {
return uint64(f.IntBetween(int(min), int(max)))
}

func (f *Faker) Letter() string {
return f.RandomLetter()
}
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/Luoxin/faker

go 1.17

require github.com/valyala/fastrand v1.0.0 // indirect
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/valyala/fastrand v1.0.0 h1:LUKT9aKer2dVQNUi3waewTbKV+7H17kvWFNKs2ObdkI=
github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ=

0 comments on commit fb0777f

Please sign in to comment.