Hacker News new | ask | show | jobs
by alecthomas 766 days ago
For those unaware, gosec (and by extension golangci-lint) will warn about uses of `math/rand`

https://github.com/securego/gosec/blob/d3b2359ae29fe344f4df5...

1 comments

One of my favorite things about math/rand/v2 is that I can use it at work without a nolint directive and the subsequent pr discussions.