From e2f3656474123ff6e3675c9be4ad517ece885646 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Wed, 7 Oct 2020 10:17:08 +0200 Subject: [PATCH] Remove unused random variable --- util.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/util.go b/util.go index 7996233..7644576 100644 --- a/util.go +++ b/util.go @@ -23,12 +23,6 @@ type ParsedLink struct { Href string `json:"href"` } -var random *rand.Rand - -func init() { - random = rand.New(rand.NewSource(time.Now().UnixNano())) -} - const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" func RandStringBytes(n int) string {