X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/31a339cd75748b96a792d9f62b7c94c4d180ec2e..e55ecb6c4a75d1d16b6785dbe9f75f9e22291a21:/cmd/mobius-hotline-server/main.go 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