Skip to content

Commit

Permalink
Remove deprecated rand.Seed
Browse files Browse the repository at this point in the history
  • Loading branch information
ejv2 committed Nov 11, 2023
1 parent 9350705 commit 604a738
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"errors"
"log"
"math/rand"
"net/http"
"os"
"os/signal"
Expand Down Expand Up @@ -54,10 +53,6 @@ func main() {
log.Fatal(err)
}

// Seed random
// MUST be done before game coordinator
rand.Seed(time.Now().UnixMilli())

// Init configs
vd = validator.New()
Config, err = config.New(PathConfig, vd)
Expand Down

0 comments on commit 604a738

Please sign in to comment.