diff --git a/github/github.go b/github/github.go index 7069a18e053..013ce8715ab 100644 --- a/github/github.go +++ b/github/github.go @@ -468,6 +468,7 @@ func (c *Client) copy() *Client { } // NewClientWithEnvProxy enhances NewClient with the HttpProxy env. +// Deprecated: Use NewClient(nil) instead. func NewClientWithEnvProxy() *Client { return NewClient(&http.Client{Transport: &http.Transport{Proxy: http.ProxyFromEnvironment}}) }