diff options
-rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,7 +9,9 @@ import ( "github.com/kch42/simpleconf" _ "kch42.de/gostuff/mailremind/model/mysql" "log" + "math/rand" "net/http" + "time" ) func debug(rw http.ResponseWriter, req *http.Request) { @@ -56,6 +58,8 @@ func main() { log.Fatalf("Could not get web.baseurl from config: %s", err) } + rand.Seed(time.Now().UnixNano()) + initSessions() initTpls() loadTimeLocs() |