Skip to content

Commit d467d57

Browse files
authored
Merge pull request #254 from go-resty/v2
For v2 Release
2 parents fa5875c + 1734771 commit d467d57

24 files changed

+1674
-1426
lines changed

.travis.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,16 @@ language: go
22

33
sudo: false
44

5-
go:
6-
# - 1.3
7-
# - 1.4
8-
# - 1.5
9-
# - 1.6
10-
# - 1.7
11-
# - 1.8.x
12-
# - 1.9.x
13-
- 1.10.x
5+
go: # use travis ci resource effectively, keep always latest 2 versions and tip :)
146
- 1.11.x
7+
- 1.12.x
158
- tip
169

1710
install:
1811
- go get -v -t ./...
1912

2013
script:
21-
- go test ./... -coverprofile=coverage.txt -covermode=atomic
14+
- go test ./... -race -coverprofile=coverage.txt -covermode=atomic
2215

2316
after_success:
2417
- bash <(curl -s https://codecov.io/bash)

BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
66
gazelle(
77
name = "gazelle",
88
command = "fix",
9-
prefix = "gopkg.in/resty.v1",
9+
prefix = "github.com/go-resty/resty/v2",
1010
)
1111

1212
go_library(
@@ -15,7 +15,7 @@ go_library(
1515
["*.go"],
1616
exclude = ["*_test.go"],
1717
),
18-
importpath = "gopkg.in/resty.v1",
18+
importpath = "github.com/go-resty/resty/v2",
1919
visibility = ["//visibility:public"],
2020
deps = ["@org_golang_x_net//publicsuffix:go_default_library"],
2121
)
@@ -29,7 +29,7 @@ go_test(
2929
),
3030
data = glob([".testdata/*"]),
3131
embed = [":go_default_library"],
32-
importpath = "gopkg.in/resty.v1",
32+
importpath = "github.com/go-resty/resty/v2",
3333
deps = [
3434
"@org_golang_x_net//proxy:go_default_library",
3535
],

README.md

+221-145
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)