Skip to content

Commit 08cb21b

Browse files
committed
closes #161 removes references to gopkg.in
1 parent 472e287 commit 08cb21b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface, which was not required or useful for mocking and was removed. Hope it
2323

2424
## Install
2525

26-
go get gopkg.in/DATA-DOG/go-sqlmock.v1
26+
go get github.com/DATA-DOG/go-sqlmock
2727

2828
## Documentation and Examples
2929

@@ -91,7 +91,7 @@ import (
9191
"fmt"
9292
"testing"
9393

94-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
94+
"github.com/DATA-DOG/go-sqlmock"
9595
)
9696

9797
// a successful case
@@ -213,6 +213,7 @@ It only asserts that argument is of `time.Time` type.
213213

214214
## Change Log
215215

216+
- **2019-02-13** - added `go.mod` removed the references and suggestions using `gopkg.in`.
216217
- **2018-12-11** - added expectation of Rows to be closed, while mocking expected query.
217218
- **2018-12-11** - introduced an option to provide **QueryMatcher** in order to customize SQL query matching.
218219
- **2017-09-01** - it is now possible to expect that prepared statement will be closed,

examples/basic/basic_test.go

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

7-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
7+
"github.com/DATA-DOG/go-sqlmock"
88
)
99

1010
// a successful case

examples/blog/blog_test.go

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

11-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
11+
"github.com/DATA-DOG/go-sqlmock"
1212
)
1313

1414
func (a *api) assertJSON(actual []byte, data interface{}, t *testing.T) {

examples/orders/orders_test.go

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

7-
"gopkg.in/DATA-DOG/go-sqlmock.v1"
7+
"github.com/DATA-DOG/go-sqlmock"
88
)
99

1010
// will test that order with a different status, cannot be cancelled

0 commit comments

Comments
 (0)