File tree Expand file tree Collapse file tree 9 files changed +11
-14
lines changed Expand file tree Collapse file tree 9 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 39
39
- run : make realclean
40
40
- run : make examples SWAGGER_CODEGEN="${SWAGGER_CODEGEN}" # Set in Docker image
41
41
- run : go mod tidy
42
- - run : go mod vendor
43
42
- run : git diff --exit-code
44
43
lint :
45
44
docker :
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ $(RESPONSE_BODY_EXAMPLE_SRCS): $(RESPONSE_BODY_EXAMPLE_SPEC)
177
177
$(EXAMPLE_CLIENT_DIR ) /responsebody/git_push.sh
178
178
179
179
examples : $(EXAMPLE_DEPSRCS ) $(EXAMPLE_SVCSRCS ) $(EXAMPLE_GWSRCS ) $(EXAMPLE_SWAGGERSRCS ) $(EXAMPLE_CLIENT_SRCS )
180
+ find -type f -name * .go -exec sed -s -i ' s;github.com/go-resty/resty;gopkg.in/resty.v1;g' {} +
180
181
test : examples
181
182
go test -race ...
182
183
go test -race examples/integration -args -network=unix -endpoint=test.sock
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ go_repository(
43
43
44
44
# Also define in Gopkg.toml
45
45
go_repository (
46
- name = "com_github_go_resty_resty " ,
47
- commit = "f8815663de1e64d57cdd4ee9e2b2fa96977a030e " ,
48
- importpath = "github.com/go- resty/resty " ,
46
+ name = "in_gopkg_resty_v1 " ,
47
+ commit = "fa5875c0caa5c260ab78acec5a244215a730247f " ,
48
+ importpath = "gopkg.in/ resty.v1 " ,
49
49
)
50
50
51
51
# Also define in Gopkg.toml
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
18
18
"strings"
19
19
"net/url"
20
20
"io/ioutil"
21
- "github.com/go- resty/resty "
21
+ "gopkg.in/ resty.v1 "
22
22
)
23
23
24
24
type APIClient struct {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
18
18
"strings"
19
19
"net/url"
20
20
"io/ioutil"
21
- "github.com/go- resty/resty "
21
+ "gopkg.in/ resty.v1 "
22
22
)
23
23
24
24
type APIClient struct {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
18
18
"strings"
19
19
"net/url"
20
20
"io/ioutil"
21
- "github.com/go- resty/resty "
21
+ "gopkg.in/ resty.v1 "
22
22
)
23
23
24
24
type APIClient struct {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
18
18
"strings"
19
19
"net/url"
20
20
"io/ioutil"
21
- "github.com/go- resty/resty "
21
+ "gopkg.in/ resty.v1 "
22
22
)
23
23
24
24
type APIClient struct {
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ module github.com/grpc-ecosystem/grpc-gateway
2
2
3
3
require (
4
4
github.com/ghodss/yaml v1.0.0
5
- github.com/go-resty/resty v1.9.0
6
5
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
7
6
github.com/golang/protobuf v1.2.0
8
7
github.com/kr/pretty v0.1.0 // indirect
@@ -12,7 +11,6 @@ require (
12
11
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
13
12
google.golang.org/grpc v1.19.0
14
13
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
14
+ gopkg.in/resty.v1 v1.12.0
15
15
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 // indirect
16
16
)
17
-
18
- replace github.com/go-resty/resty => gopkg.in/resty.v1 v1.9.0
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
16
16
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af h1:gu+uRPtBe88sKxUCEXRoeCvVG90TJmwhiqRpvdhQFng =
17
17
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af /go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg =
18
18
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3 /go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE =
19
- golang.org/x/net v0.0.0-20180611182652-db08ff08e862 /go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4 =
20
19
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d /go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4 =
21
20
golang.org/x/net v0.0.0-20181220203305-927f97764cc3 h1:eH6Eip3UpmR+yM/qI9Ijluzb1bNv/cAU/n+6l8tRSis =
22
21
golang.org/x/net v0.0.0-20181220203305-927f97764cc3 /go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4 =
@@ -36,8 +35,8 @@ google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8=
36
35
google.golang.org/grpc v1.19.0 /go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c =
37
36
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY =
38
37
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
39
- gopkg.in/resty.v1 v1.9 .0 h1:mCx5NxFISl+YcVKcz4u69YktLtuKwRAhdL2ByPlFIbg =
40
- gopkg.in/resty.v1 v1.9 .0 /go.mod h1:vo52Hzryw9PnPHcJfPsBiFW62XhNx5OczbV9y+IMpgc =
38
+ gopkg.in/resty.v1 v1.12 .0 h1:CuXP0Pjfw9rOuY6EP+UvtNvt5DSqHpIxILZKT/quCZI =
39
+ gopkg.in/resty.v1 v1.12 .0 /go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo =
41
40
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 h1:+t9dhfO+GNOIGJof6kPOAenx7YgrZMTdRPV+EsnPabk =
42
41
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 /go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74 =
43
42
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099 /go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4 =
You can’t perform that action at this time.
0 commit comments