brianvoe / gofakeit

Random fake data generator written in go
MIT License
4.49k stars 263 forks source link

Add SnowFlake Function #272

Closed Zmzblink closed 10 months ago

Zmzblink commented 10 months ago

SnowFlake will generate a unique int64 based upon timestamp

Zmzblink commented 10 months ago

I used the wrong user when submitting the code for the first time. Could you please delete the record of that pull request? #271

brianvoe commented 10 months ago

Thanks for the pr. But I am not sure how i feel about it. It doesnt feel random. It doesnt even take in a rand.Rand. This feels more like a unique number increment function. Its cool I just dont that it fits here.