change import for gock module

This commit is contained in:
Ruslan Efanov 2021-04-15 18:03:13 +03:00
parent a965982498
commit 141873cc9f
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ jobs:
- name: Get dependencies
run: |
go get -v github.com/google/go-querystring/query
go get -v github.com/h2non/gock
go get -v gopkg.in/h2non/gock.v1
go get -v github.com/joho/godotenv
go get -v github.com/retailcrm/api-client-go/errs
cp .env.dist .env
@ -56,7 +56,7 @@ jobs:
- name: Get dependencies
run: |
go get -v github.com/google/go-querystring/query
go get -v github.com/h2non/gock
go get -v gopkg.in/h2non/gock.v1
go get -v github.com/joho/godotenv
go get -v github.com/retailcrm/api-client-go/errs
cp .env.dist .env

View file

@ -15,8 +15,8 @@ import (
"testing"
"time"
"github.com/h2non/gock"
"github.com/joho/godotenv"
"gopkg.in/h2non/gock.v1"
)
func TestMain(m *testing.M) {