fs: update use of math/rand to modern practice

This commit is contained in:
Nick Craig-Wood
2024-01-03 16:14:40 +00:00
parent 7aa066cff8
commit 208e49ce4b
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ var (
// Seed the random number generator
func init() {
rand.Seed(time.Now().UnixNano())
_ = random.Seed()
}