aboutsummaryrefslogtreecommitdiff
path: root/cmd/mobius-hotline-server
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2023-04-19 17:00:22 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2023-04-19 17:00:22 -0700
commite55ecb6c4a75d1d16b6785dbe9f75f9e22291a21 (patch)
treee2e1f9ac713659b4dd3cd422ff88d5e5000dd0a1 /cmd/mobius-hotline-server
parent7152b7e59b6e30d3025cf5c6386eb2e54b95c139 (diff)
Replace deprecated rand.Seed usage
Diffstat (limited to 'cmd/mobius-hotline-server')
-rw-r--r--cmd/mobius-hotline-server/main.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/mobius-hotline-server/main.go b/cmd/mobius-hotline-server/main.go
index 11e3baf..4fa28c2 100644
--- a/cmd/mobius-hotline-server/main.go
+++ b/cmd/mobius-hotline-server/main.go
@@ -12,12 +12,10 @@ import (
"gopkg.in/natefinch/lumberjack.v2"
"io"
"log"
- "math/rand"
"net/http"
"os"
"path/filepath"
"runtime"
- "time"
)
//go:embed mobius/config
@@ -28,8 +26,6 @@ const (
)
func main() {
- rand.Seed(time.Now().UnixNano())
-
ctx, cancel := context.WithCancel(context.Background())
// TODO: implement graceful shutdown by closing context