From 6d079da3e0544797317c05606a7613a98aa75e50 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sat, 11 Mar 2023 12:20:42 -0500 Subject: random: fix lint error on deprecated rand.Seed use Signed-off-by: Dave Henderson --- random/random.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/random/random.go b/random/random.go index eb993f57..742099d0 100644 --- a/random/random.go +++ b/random/random.go @@ -6,14 +6,9 @@ import ( "math" "math/rand" "regexp" - "time" "unicode" ) -func init() { - rand.Seed(time.Now().UnixNano()) -} - // Default set, matches "[a-zA-Z0-9_.-]" const defaultSet = "-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz" -- cgit v1.2.3