Skip to content

Commit f1e36e2

Browse files
Nuno CrucesNuno Cruces
authored andcommitted
Updated dependencies.
1 parent 772b915 commit f1e36e2

File tree

4 files changed

+18
-32
lines changed

4 files changed

+18
-32
lines changed

gormlite/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
module github.com/ncruces/go-sqlite3/gormlite
22

3-
go 1.19
3+
go 1.21
44

55
require (
6-
github.com/ncruces/go-sqlite3 v0.8.3
6+
github.com/ncruces/go-sqlite3 v0.8.4
77
gorm.io/gorm v1.25.2
88
)
99

1010
require (
1111
github.com/jinzhu/inflection v1.0.0 // indirect
1212
github.com/jinzhu/now v1.1.5 // indirect
1313
github.com/ncruces/julianday v0.1.5 // indirect
14-
github.com/tetratelabs/wazero v1.3.1 // indirect
15-
golang.org/x/sys v0.10.0 // indirect
14+
github.com/tetratelabs/wazero v1.4.0 // indirect
15+
golang.org/x/sys v0.11.0 // indirect
1616
)

gormlite/go.sum

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD
22
github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc=
33
github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ=
44
github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8=
5-
github.com/ncruces/go-sqlite3 v0.8.3 h1:kYUAqDpZ0OT+snTH1yWyxq9QSJ22HoM3WKfFEL4N694=
6-
github.com/ncruces/go-sqlite3 v0.8.3/go.mod h1:DUdzKfMlIFmSLAtNHdIgxbdax/5NsQx2RlIlVO7EWfU=
5+
github.com/ncruces/go-sqlite3 v0.8.4 h1:nizhgJMMJJBrthESCwF30+oOvQkdtizgJ/v35Y0v+vg=
6+
github.com/ncruces/go-sqlite3 v0.8.4/go.mod h1:XvDtjKk5MgwHX7L4I7BPzzKl36bTZ7+Hr6Kr2QeVkVw=
77
github.com/ncruces/julianday v0.1.5 h1:hDJ9ejiMp3DHsoZ5KW4c1lwfMjbARS7u/gbYcd0FBZk=
88
github.com/ncruces/julianday v0.1.5/go.mod h1:Dusn2KvZrrovOMJuOt0TNXL6tB7U2E8kvza5fFc9G7g=
9-
github.com/tetratelabs/wazero v1.3.1 h1:rnb9FgOEQRLLR8tgoD1mfjNjMhFeWRUk+a4b4j/GpUM=
10-
github.com/tetratelabs/wazero v1.3.1/go.mod h1:wYx2gNRg8/WihJfSDxA1TIL8H+GkfLYm+bIfbblu9VQ=
11-
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
12-
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
13-
golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4=
9+
github.com/tetratelabs/wazero v1.4.0 h1:9/MirYvmkJ/zSUOygKY/ia3t+e+RqIZXKbylIby1WYk=
10+
github.com/tetratelabs/wazero v1.4.0/go.mod h1:0U0G41+ochRKoPKCJlh0jMg1CHkyfK8kDqiirMmKY8A=
11+
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
12+
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
13+
golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc=
14+
golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
1415
gorm.io/gorm v1.25.2 h1:gs1o6Vsa+oVKG/a9ElL3XgyGfghFfkKA2SInQaCyMho=
1516
gorm.io/gorm v1.25.2/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k=

gormlite/test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ rm -rf gorm/
1111
patch -p1 -N < tests.patch
1212

1313
cd tests
14+
go mod edit \
15+
-require github.com/ncruces/go-sqlite3/[email protected] \
16+
-replace github.com/ncruces/go-sqlite3/gormlite=../ \
17+
-replace github.com/ncruces/go-sqlite3=../../ \
18+
-droprequire gorm.io/driver/sqlite \
19+
-dropreplace gorm.io/gorm
1420
go mod tidy && go work use . && go test
1521

1622
cd ..

gormlite/tests.patch

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,6 @@ diff --git a/tests/.gitignore b/tests/.gitignore
44
@@ -1 +1 @@
55
-go.sum
66
+*
7-
diff --git a/tests/go.mod b/tests/go.mod
8-
--- a/tests/go.mod
9-
+++ b/tests/go.mod
10-
@@ -6,9 +6,10 @@ require (
11-
github.com/google/uuid v1.3.0
12-
github.com/jinzhu/now v1.1.5
13-
github.com/lib/pq v1.10.9
14-
+ github.com/ncruces/go-sqlite3 v0.8.3
15-
+ github.com/ncruces/go-sqlite3/gormlite v0.0.0
16-
gorm.io/driver/mysql v1.5.2-0.20230612053416-48b6526a21f0
17-
gorm.io/driver/postgres v1.5.3-0.20230607070428-18bc84b75196
18-
- gorm.io/driver/sqlite v1.5.2
19-
gorm.io/driver/sqlserver v1.5.2-0.20230613072041-6e2cde390b0a
20-
gorm.io/gorm v1.25.2
21-
)
22-
@@ -27,4 +28,4 @@ require (
23-
golang.org/x/text v0.11.0 // indirect
24-
)
25-
26-
-replace gorm.io/gorm => ../
27-
+replace github.com/ncruces/go-sqlite3/gormlite => ../
287
diff --git a/tests/tests_test.go b/tests/tests_test.go
298
--- a/tests/tests_test.go
309
+++ b/tests/tests_test.go

0 commit comments

Comments
 (0)