diff --git a/_examples/README.md b/_examples/README.md index 116338a..ea22c04 100644 --- a/_examples/README.md +++ b/_examples/README.md @@ -9,7 +9,7 @@ go get -u github.com/nbio/st ``` ```bash -go get -u gopkg.in/h2non/gock.v1 +go get -u github.com/h2non/gock ``` ### Usage diff --git a/_examples/add_matchers/matchers.go b/_examples/add_matchers/matchers.go index f5aca3a..2bdaae0 100644 --- a/_examples/add_matchers/matchers.go +++ b/_examples/add_matchers/matchers.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" ) func main() { diff --git a/_examples/basic/basic_test.go b/_examples/basic/basic_test.go index 10f97ee..5afb8c9 100644 --- a/_examples/basic/basic_test.go +++ b/_examples/basic/basic_test.go @@ -2,7 +2,7 @@ package test import ( "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/body_file/file_test.go b/_examples/body_file/file_test.go index 4ef08c2..18d5cf3 100644 --- a/_examples/body_file/file_test.go +++ b/_examples/body_file/file_test.go @@ -3,7 +3,7 @@ package test import ( "bytes" "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/body_match/body_test.go b/_examples/body_match/body_test.go index 7c66ebc..b8965ca 100644 --- a/_examples/body_match/body_test.go +++ b/_examples/body_match/body_test.go @@ -3,7 +3,7 @@ package test import ( "bytes" "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/cannot_match/cannot_match.go b/_examples/cannot_match/cannot_match.go index d69d6a9..593f9a2 100644 --- a/_examples/cannot_match/cannot_match.go +++ b/_examples/cannot_match/cannot_match.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" ) func main() { diff --git a/_examples/clean/clean.go b/_examples/clean/clean.go index a36f33f..303dad9 100644 --- a/_examples/clean/clean.go +++ b/_examples/clean/clean.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "net/http" ) diff --git a/_examples/compressed_body/compression_test.go b/_examples/compressed_body/compression_test.go index 404a44d..a1aec74 100644 --- a/_examples/compressed_body/compression_test.go +++ b/_examples/compressed_body/compression_test.go @@ -4,7 +4,7 @@ import ( "bytes" "compress/gzip" "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/custom_client/client_test.go b/_examples/custom_client/client_test.go index 8e32efb..60eeeb3 100644 --- a/_examples/custom_client/client_test.go +++ b/_examples/custom_client/client_test.go @@ -2,7 +2,7 @@ package test import ( "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/custom_matcher/matcher.go b/_examples/custom_matcher/matcher.go index 0b304f0..b5e8450 100644 --- a/_examples/custom_matcher/matcher.go +++ b/_examples/custom_matcher/matcher.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "net/http" ) diff --git a/_examples/filters/filter.go b/_examples/filters/filter.go index 84a4704..3c02cdc 100644 --- a/_examples/filters/filter.go +++ b/_examples/filters/filter.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "net/http" ) diff --git a/_examples/gentleman/gentleman.go b/_examples/gentleman/gentleman.go index e220df6..37b8ffb 100644 --- a/_examples/gentleman/gentleman.go +++ b/_examples/gentleman/gentleman.go @@ -5,7 +5,7 @@ import ( "gopkg.in/h2non/gentleman.v1" "gopkg.in/h2non/gentleman.v1/context" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" ) // Usege example with gentleman HTTP client toolkit. diff --git a/_examples/mapper/map.go b/_examples/mapper/map.go index da01d69..338c685 100644 --- a/_examples/mapper/map.go +++ b/_examples/mapper/map.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "net/http" ) diff --git a/_examples/match_headers/headers_test.go b/_examples/match_headers/headers_test.go index 4db9504..fecf728 100644 --- a/_examples/match_headers/headers_test.go +++ b/_examples/match_headers/headers_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" ) func TestMatchHeaders(t *testing.T) { diff --git a/_examples/match_query/query_test.go b/_examples/match_query/query_test.go index b9e2f9d..0e85c69 100644 --- a/_examples/match_query/query_test.go +++ b/_examples/match_query/query_test.go @@ -2,7 +2,7 @@ package test import ( "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/match_url/url_test.go b/_examples/match_url/url_test.go index 0a26109..aed0e39 100644 --- a/_examples/match_url/url_test.go +++ b/_examples/match_url/url_test.go @@ -2,7 +2,7 @@ package test import ( "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/multiple/multiple_test.go b/_examples/multiple/multiple_test.go index 9541d0f..e9d60a0 100644 --- a/_examples/multiple/multiple_test.go +++ b/_examples/multiple/multiple_test.go @@ -2,7 +2,7 @@ package test import ( "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/networking/networking.go b/_examples/networking/networking.go index aa45f32..d1924d7 100644 --- a/_examples/networking/networking.go +++ b/_examples/networking/networking.go @@ -5,7 +5,7 @@ import ( "io/ioutil" "net/http" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" ) func main() { diff --git a/_examples/networking_filters/filters.go b/_examples/networking_filters/filters.go index a680e76..6deea3b 100644 --- a/_examples/networking_filters/filters.go +++ b/_examples/networking_filters/filters.go @@ -5,7 +5,7 @@ import ( "io/ioutil" "net/http" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" ) func main() { diff --git a/_examples/networking_partially_enabled/networking.go b/_examples/networking_partially_enabled/networking.go index 4b28d32..addb891 100644 --- a/_examples/networking_partially_enabled/networking.go +++ b/_examples/networking_partially_enabled/networking.go @@ -9,7 +9,7 @@ import ( "net/http" "net/http/httptest" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" ) // Starts a local HTTP server in background diff --git a/_examples/observe/observe.go b/_examples/observe/observe.go index c0b9f47..edf5427 100644 --- a/_examples/observe/observe.go +++ b/_examples/observe/observe.go @@ -2,7 +2,7 @@ package main import ( "bytes" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "net/http" ) diff --git a/_examples/pending/pending.go b/_examples/pending/pending.go index babe157..b84929a 100644 --- a/_examples/pending/pending.go +++ b/_examples/pending/pending.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "net/http" ) diff --git a/_examples/persistent/persistent_test.go b/_examples/persistent/persistent_test.go index f48085f..6d02a0f 100644 --- a/_examples/persistent/persistent_test.go +++ b/_examples/persistent/persistent_test.go @@ -2,7 +2,7 @@ package test import ( "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/persistent/times_test.go b/_examples/persistent/times_test.go index 4a8daa3..5f0d21a 100644 --- a/_examples/persistent/times_test.go +++ b/_examples/persistent/times_test.go @@ -2,7 +2,7 @@ package test import ( "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/regexp_matching/regexp_test.go b/_examples/regexp_matching/regexp_test.go index d08b987..905e80a 100644 --- a/_examples/regexp_matching/regexp_test.go +++ b/_examples/regexp_matching/regexp_test.go @@ -3,7 +3,7 @@ package test import ( "bytes" "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" "io/ioutil" "net/http" "testing" diff --git a/_examples/reply_error/reply_error_test.go b/_examples/reply_error/reply_error_test.go index 4b423f7..18030cf 100644 --- a/_examples/reply_error/reply_error_test.go +++ b/_examples/reply_error/reply_error_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/nbio/st" - "gopkg.in/h2non/gock.v1" + "github.com/h2non/gock" ) func TestReplyError(t *testing.T) {