Skip to content

Commit

Permalink
fix go mod
Browse files Browse the repository at this point in the history
Signed-off-by: gangqiangwang <[email protected]>;
  • Loading branch information
qiangzii authored and wanggangqiang committed Sep 14, 2022
1 parent 1feadc6 commit 45920bb
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import:
version: ~1.0.2
- package: gopkg.in/yaml.v2
testImport:
- package: github.com/DATA-DOG/godog
version: ~0.7.3
- package: github.com/cucumber/godog
version: ~0.8.1
subpackages:
- gherkin
- package: github.com/stretchr/testify
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ module github.com/yunify/qingcloud-sdk-go
go 1.13

require (
github.com/DATA-DOG/godog v0.10.0
github.com/cucumber/godog v0.8.1
github.com/sirupsen/logrus v1.6.0
github.com/stretchr/testify v1.6.1
gopkg.in/yaml.v2 v2.3.0
)

replace github.com/DATA-DOG/godog v0.10.0 => github.com/cucumber/godog v0.7.9

replace github.com/golang/lint v0.0.0-20201208152925-83fdc39ff7b5 => golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5

replace golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 => github.com/golang/lint v0.0.0-20201208152925-83fdc39ff7b5
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/cucumber/godog v0.7.9 h1:xBFguv4NJkVgDTGE95g53uzxruxQMclSee/L6rI7NTc=
github.com/cucumber/godog v0.7.9/go.mod h1:2+kSV+QWoeX5l4THUNR1v5OnHuGM9QUD7nQILpqoklI=
github.com/cucumber/godog v0.8.1 h1:lVb+X41I4YDreE+ibZ50bdXmySxgRviYFgKY6Aw4XE8=
github.com/cucumber/godog v0.8.1/go.mod h1:vSh3r/lM+psC1BPXvdkSEuNjmXfpVqrMGYAElF6hxnA=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
9 changes: 5 additions & 4 deletions test/instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package main
import (
"errors"
"fmt"
"github.com/DATA-DOG/godog"
"github.com/DATA-DOG/godog/gherkin"
qcErrors "github.com/yunify/qingcloud-sdk-go/request/errors"
qc "github.com/yunify/qingcloud-sdk-go/service"
"strconv"
"time"

"github.com/cucumber/godog"
"github.com/cucumber/godog/gherkin"
qcErrors "github.com/yunify/qingcloud-sdk-go/request/errors"
qc "github.com/yunify/qingcloud-sdk-go/service"
)

var instanceService *qc.InstanceService
Expand Down
3 changes: 2 additions & 1 deletion test/job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ package main
import (
"errors"
"fmt"
"github.com/DATA-DOG/godog"

"github.com/cucumber/godog"
qc "github.com/yunify/qingcloud-sdk-go/service"
)

Expand Down
2 changes: 1 addition & 1 deletion test/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"gopkg.in/yaml.v2"

"github.com/DATA-DOG/godog"
"github.com/cucumber/godog"

"github.com/yunify/qingcloud-sdk-go/config"
qc "github.com/yunify/qingcloud-sdk-go/service"
Expand Down
3 changes: 2 additions & 1 deletion test/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ package main
import (
"errors"
"fmt"
"github.com/DATA-DOG/godog"

"github.com/cucumber/godog"
qc "github.com/yunify/qingcloud-sdk-go/service"
)

Expand Down

0 comments on commit 45920bb

Please sign in to comment.