Hacker News new | past | comments | ask | show | jobs | submit login

For those unaware, gosec (and by extension golangci-lint) will warn about uses of `math/rand`

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




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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: