dmitri.shuralyov.com/service/change/...

httpclient: Use golang.org/x/net/context/ctxhttp package.

The issue https://golang.org/issue/21358 has been resolved upstream,
so there's no more need to use a temporary fork of the ctxhttp package.
dmitshur committed 6 years ago commit 7424d8ddca1d310f20d49327fd09b60e29f9d1fd
Collapse all
httpclient/httpclient.go
@@ -9,11 +9,11 @@ import (
	"net/http"
	"net/url"

	"dmitri.shuralyov.com/service/change"
	"dmitri.shuralyov.com/service/change/httproute"
	"github.com/shurcooL/go/ctxhttp"
	"golang.org/x/net/context/ctxhttp"
)

// NewChange creates a client that implements change.Service remotely over HTTP.
// If a nil httpClient is provided, http.DefaultClient will be used.
// scheme and host can be empty strings to target local service.