Skip to content

Commit

Permalink
Remove rand.Seed(), which was deprecated in Go 1.20 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVitek authored Jun 3, 2024
1 parent 32be967 commit 0d9f7d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/pgkit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ import (
"errors"
"fmt"
"log"
mrand "math/rand"
"sort"
"testing"
"time"

sq "github.com/Masterminds/squirrel"
"github.com/georgysavva/scany/v2/pgxscan"
Expand All @@ -26,8 +24,6 @@ var (
)

func init() {
mrand.Seed(time.Now().UnixNano())

var err error
DB, err = pgkit.Connect("pgkit_test", pgkit.Config{
Database: "pgkit_test",
Expand Down

0 comments on commit 0d9f7d7

Please sign in to comment.