WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 40284033

(no title)

alecthomas | 1 year ago

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

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

discuss

order

onionisafruit|1 year ago

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.
powered by hn/api // news.ycombinator.com