Skip to content

Commit a2f789e

Browse files
committed
fix: go mod version
1 parent 0c152cb commit a2f789e

File tree

9 files changed

+11
-13
lines changed

9 files changed

+11
-13
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Your tests can be checked easily like this:
236236
```go
237237
import (
238238
"github.com/DATA-DOG/go-sqlmock"
239-
"github.com/arsham/dbtools/v3/dbtesting"
239+
"github.com/arsham/dbtools/v4/dbtesting"
240240
)
241241

242242
func TestFoo(t *testing.T) {
@@ -275,7 +275,7 @@ relevant to the current test), you can use `OkValue`.
275275

276276
```go
277277
import (
278-
"github.com/arsham/dbtools/v3/dbtesting"
278+
"github.com/arsham/dbtools/v4/dbtesting"
279279
"github.com/DATA-DOG/go-sqlmock"
280280
)
281281

@@ -300,7 +300,7 @@ mock.ExpectExec("INSERT INTO life .+").
300300
### Usage
301301

302302
```go
303-
import "github.com/arsham/dbtools/v3/dbtesting"
303+
import "github.com/arsham/dbtools/v4/dbtesting"
304304

305305
func TestFoo(t *testing.T) {
306306
spec.Run(t, "Foo", func(t *testing.T, when spec.G, it spec.S) {

db_example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/arsham/dbtools/v3"
9+
"github.com/arsham/dbtools/v4"
1010
"github.com/arsham/retry/v3"
1111
"github.com/jackc/pgx/v5"
1212
"github.com/stretchr/testify/assert"

db_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"testing"
77
"time"
88

9-
"github.com/arsham/dbtools/v3"
10-
"github.com/arsham/dbtools/v3/mocks"
9+
"github.com/arsham/dbtools/v4"
10+
"github.com/arsham/dbtools/v4/mocks"
1111
"github.com/arsham/retry/v3"
1212
"github.com/jackc/pgx/v5"
1313
"github.com/jackc/pgx/v5/pgxpool"

dbtesting/dbtesting_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66

77
"github.com/DATA-DOG/go-sqlmock"
8-
"github.com/arsham/dbtools/v3/dbtesting"
8+
"github.com/arsham/dbtools/v4/dbtesting"
99
"github.com/stretchr/testify/assert"
1010
"github.com/stretchr/testify/require"
1111
)

dbtesting/mocha_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
"testing"
1010

11-
"github.com/arsham/dbtools/v3/dbtesting"
11+
"github.com/arsham/dbtools/v4/dbtesting"
1212
"github.com/sclevine/spec"
1313
"github.com/stretchr/testify/assert"
1414
"github.com/stretchr/testify/require"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/arsham/dbtools/v3
1+
module github.com/arsham/dbtools/v4
22

33
go 1.22.0
44

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
189189
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
190190
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
191191
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
192-
google.golang.org/genproto/googleapis/api v0.0.0-20240610135401-a8a62080eff3 h1:QW9+G6Fir4VcRXVH8x3LilNAb6cxBGLa6+GM4hRwexE=
193-
google.golang.org/genproto/googleapis/api v0.0.0-20240610135401-a8a62080eff3/go.mod h1:kdrSS/OiLkPrNUpzD4aHgCq2rVuC/YRxok32HXZ4vRE=
194192
google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4 h1:MuYw1wJzT+ZkybKfaOXKp5hJiZDn2iHaXRw0mRYdHSc=
195193
google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4/go.mod h1:px9SlOOZBg1wM1zdnr8jEL4CNGUBZ+ZKYtNPApNQc4c=
196194
google.golang.org/genproto/googleapis/rpc v0.0.0-20240617180043-68d350f18fd4 h1:Di6ANFilr+S60a4S61ZM00vLdw0IrQOSMS2/6mrnOU0=

helper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/arsham/dbtools/v3/mocks"
11+
"github.com/arsham/dbtools/v4/mocks"
1212
"github.com/arsham/retry/v3"
1313
"github.com/docker/docker/api/types/container"
1414
"github.com/docker/docker/pkg/ioutils"

mocks/db_mock.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)