Not sure this brings a lot of value compared to calling directly rand.Seed(time.Now().UnixNano()) before petname.Generate() but at least it's clear in the lib how to do it with that new function.
I'm open to any idea how to make it better, if you feel it's not useful feel free to discard the PR :)
Not sure this brings a lot of value compared to calling directly
rand.Seed(time.Now().UnixNano())
beforepetname.Generate()
but at least it's clear in the lib how to do it with that new function.I'm open to any idea how to make it better, if you feel it's not useful feel free to discard the PR :)