Xray-core/common/dice
A1lo a994bf8b04
chore: fix some errors detected by staticcheck (#3089)
* chore: fix some errors detected by staticcheck

* feat: remove `rand.Seed()` usage for possibly using "fastrand64" runtime to avoid locking

ref: https://pkg.go.dev/math/rand#Seed
2024-03-03 10:52:22 -05:00
..
dice_test.go v1.1.0 2020-12-04 09:36:16 +08:00
dice.go chore: fix some errors detected by staticcheck (#3089) 2024-03-03 10:52:22 -05:00