7 ms·
For those unaware, gosec (and by extension golangci-lint) will warn about uses of `math/rand` https://github.com/securego/gosec/blob/d3b2359ae29fe344f4df5bf3a8
by alecthomas 2y ago
For those unaware, gosec (and by extension golangci-lint) will warn about uses of `math/rand`
https://github.com/securego/gosec/blob/d3b2359ae29fe344f4df5bf3a8c6491fb7c46c02/rules/rand.go#L44 https://github.com/securego/gosec/blob/d3b2359ae29fe344f4df5...
- onionisafruit 2y agoOne 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.