From fd2a353770a5f3cea773a5c4465bf0fc2a2818d3 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 24 May 2020 04:38:34 +0000 Subject: Refactor things --- main.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 99adb7c..3b000c7 100644 --- a/main.go +++ b/main.go @@ -4,12 +4,10 @@ import ( "errors" "fmt" "log" - "math/rand" "net/http" "os" "path/filepath" "strings" - "time" "bloat/config" "bloat/kv" @@ -23,10 +21,6 @@ var ( configFile = "/etc/bloat.conf" ) -func init() { - rand.Seed(time.Now().Unix()) -} - func errExit(err error) { fmt.Fprintln(os.Stderr, err.Error()) os.Exit(1) -- cgit v1.2.3