From 0cffac58ea90c30f524b4e7f0731c35a3546737e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Even?= Date: Thu, 15 Feb 2024 22:48:21 +0000 Subject: [PATCH] remove now unnecessary call to rand.Seed(...) --- internal/rng/rng.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/rng/rng.go b/internal/rng/rng.go index a3c35a2..ad86d09 100644 --- a/internal/rng/rng.go +++ b/internal/rng/rng.go @@ -3,13 +3,8 @@ package rng import ( "fmt" "math/rand" - "time" ) -func init() { - rand.Seed(time.Now().Unix()) -} - // RNG can be used to generate random values. type RNG struct { seed string