hyqe / rdg

Random Data Generator
MIT License
0 stars 0 forks source link

add IntBetween() #10

Closed jakobii closed 3 years ago

jakobii commented 3 years ago

Check out the numbers_test.go might help you with idea's for your rand test.

also, in the seed.go file the init() func will be run when the package is imported by another, package. So we don't need to set the seed at every function call. Calling rand.Seed() in every function call is actually not a good practice, as it could make our rand values more predicable.