Skip to content

Commit 9f806ed

Browse files
committed
Fix tests
1 parent ab77754 commit 9f806ed

File tree

3 files changed

+77
-202
lines changed

3 files changed

+77
-202
lines changed

go.mod

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,29 @@
11
module gorm.io/sharding
22

3-
go 1.17
3+
go 1.20
44

55
require (
66
github.com/bwmarrin/snowflake v0.3.0
7-
github.com/longbridgeapp/assert v0.1.0
7+
github.com/longbridgeapp/assert v1.1.0
88
github.com/longbridgeapp/sqlparser v0.3.1
9-
gorm.io/driver/mysql v1.4.1
10-
gorm.io/driver/postgres v1.4.4
11-
gorm.io/gorm v1.24.0
12-
gorm.io/hints v1.1.0
13-
gorm.io/plugin/dbresolver v1.3.0
9+
gorm.io/driver/mysql v1.4.7
10+
gorm.io/driver/postgres v1.4.8
11+
gorm.io/gorm v1.24.3
12+
gorm.io/hints v1.1.1
13+
gorm.io/plugin/dbresolver v1.4.1
1414
)
1515

1616
require (
1717
github.com/davecgh/go-spew v1.1.1 // indirect
18-
github.com/go-sql-driver/mysql v1.6.0 // indirect
19-
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
20-
github.com/jackc/pgconn v1.13.0 // indirect
21-
github.com/jackc/pgio v1.0.0 // indirect
18+
github.com/go-sql-driver/mysql v1.7.0 // indirect
2219
github.com/jackc/pgpassfile v1.0.0 // indirect
23-
github.com/jackc/pgproto3/v2 v2.3.1 // indirect
24-
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
25-
github.com/jackc/pgtype v1.12.0 // indirect
26-
github.com/jackc/pgx/v4 v4.17.2 // indirect
20+
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
21+
github.com/jackc/pgx/v5 v5.3.0 // indirect
2722
github.com/jinzhu/inflection v1.0.0 // indirect
2823
github.com/jinzhu/now v1.1.5 // indirect
2924
github.com/pmezard/go-difflib v1.0.0 // indirect
30-
github.com/stretchr/testify v1.8.0 // indirect
31-
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
32-
golang.org/x/text v0.3.7 // indirect
25+
github.com/stretchr/testify v1.8.1 // indirect
26+
golang.org/x/crypto v0.6.0 // indirect
27+
golang.org/x/text v0.7.0 // indirect
3328
gopkg.in/yaml.v3 v3.0.1 // indirect
3429
)

0 commit comments

Comments
 (0)