aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index d63c9eef..95c9615b 100644
--- a/main.go
+++ b/main.go
@@ -5,6 +5,7 @@ import (
"encoding/base64"
"errors"
"fmt"
+ "math/rand"
"os"
"runtime"
"sort"
@@ -321,3 +322,7 @@ loop:
}
}
}
+
+func init() {
+ rand.Seed(time.Now().UnixNano())
+}