1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-03-21 21:07:11 +02:00

Use gopkg.in import path in examples and Travis

This commit is contained in:
Olivier Mengué 2018-07-12 14:57:57 +02:00
parent ad9241832e
commit 3af22b4a29
4 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
language: go
go_import_path: gopkg.in/DATA-DOG/go-sqlmock.v1
go:
- 1.2.x
- 1.3.x

View File

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

View File

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

View File

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