Skip to content

Commit

Permalink
Update sqlmock dependency
Browse files Browse the repository at this point in the history
go-sqlmock have switched from gopkg.in to Go modules. This repository uses the
new github.com import path, however the go.mod file still uses the old gopkg.in
import path. This confuses `go mod` when importing this package:

    go: gopkg.in/DATA-DOG/[email protected]: go.mod has non-....v1 module path "github.com/DATA-DOG/go-sqlmock" at revision v1.3.3

This commit updates the go.mod import path.
  • Loading branch information
emersion committed Apr 6, 2019
1 parent b3ff143 commit 41bd1f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/lucasb-eyer/go-colorful

go 1.9
go 1.12

require gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0
require github.com/DATA-DOG/go-sqlmock v1.3.3
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY=
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw=
github.com/DATA-DOG/go-sqlmock v1.3.3 h1:CWUqKXe0s8A2z6qCgkP4Kru7wC11YoAnoupUKFDnH08=
github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=

0 comments on commit 41bd1f4

Please sign in to comment.