Skip to content

Commit

Permalink
remove now unnecessary call to rand.Seed(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiEven committed Feb 15, 2024
1 parent 31234d0 commit 0cffac5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/rng/rng.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ package rng
import (
"fmt"
"math/rand"
"time"
)

func init() {
rand.Seed(time.Now().Unix())
}

// RNG can be used to generate random values.
type RNG struct {
seed string
Expand Down

0 comments on commit 0cffac5

Please sign in to comment.