Skip to content

Commit 51ad837

Browse files
authored
ci: uci/copy-templates (#207)
* chore: bump go.mod to Go 1.20 and run go fix * chore: bump go.mod to Go 1.20 and run go fix * fix: stop using math/rand.Read in basic_tests * fix: stop using math/rand.Read in test_util
1 parent 818215d commit 51ad837

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: fuzz/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/ipfs/go-datastore/fuzz
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/ipfs/go-datastore v0.6.0

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ require (
1616
go.uber.org/atomic v1.6.0 // indirect
1717
)
1818

19-
go 1.19
19+
go 1.20

Diff for: test/basic_tests.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package dstest
33
import (
44
"bytes"
55
"context"
6+
"crypto/rand"
67
"fmt"
7-
"math/rand"
88
"reflect"
99
"strings"
1010
"testing"

Diff for: test/test_util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package dstest
33
import (
44
"bytes"
55
"context"
6+
"crypto/rand"
67
"encoding/base32"
78
"errors"
8-
"math/rand"
99
"testing"
1010

1111
dstore "github.com/ipfs/go-datastore"

0 commit comments

Comments
 (0)