1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2024-11-24 08:32:36 +02:00

closes #161 removes references to gopkg.in

This commit is contained in:
gedi 2019-02-13 09:29:47 +02:00
parent 472e287dba
commit 08cb21bb55
No known key found for this signature in database
GPG Key ID: 56604CDCCC201556
4 changed files with 6 additions and 5 deletions

View File

@ -23,7 +23,7 @@ interface, which was not required or useful for mocking and was removed. Hope it
## Install
go get gopkg.in/DATA-DOG/go-sqlmock.v1
go get github.com/DATA-DOG/go-sqlmock
## Documentation and Examples
@ -91,7 +91,7 @@ import (
"fmt"
"testing"
"gopkg.in/DATA-DOG/go-sqlmock.v1"
"github.com/DATA-DOG/go-sqlmock"
)
// a successful case
@ -213,6 +213,7 @@ It only asserts that argument is of `time.Time` type.
## Change Log
- **2019-02-13** - added `go.mod` removed the references and suggestions using `gopkg.in`.
- **2018-12-11** - added expectation of Rows to be closed, while mocking expected query.
- **2018-12-11** - introduced an option to provide **QueryMatcher** in order to customize SQL query matching.
- **2017-09-01** - it is now possible to expect that prepared statement will be closed,

View File

@ -4,7 +4,7 @@ import (
"fmt"
"testing"
"gopkg.in/DATA-DOG/go-sqlmock.v1"
"github.com/DATA-DOG/go-sqlmock"
)
// a successful case

View File

@ -8,7 +8,7 @@ import (
"net/http/httptest"
"testing"
"gopkg.in/DATA-DOG/go-sqlmock.v1"
"github.com/DATA-DOG/go-sqlmock"
)
func (a *api) assertJSON(actual []byte, data interface{}, t *testing.T) {

View File

@ -4,7 +4,7 @@ import (
"fmt"
"testing"
"gopkg.in/DATA-DOG/go-sqlmock.v1"
"github.com/DATA-DOG/go-sqlmock"
)
// will test that order with a different status, cannot be cancelled