We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5442b7 commit 7726a3eCopy full SHA for 7726a3e
github/github.go
@@ -296,7 +296,7 @@ func NewClient(httpClient *http.Client) *Client {
296
// NewEnterpriseClient returns a new GitHub API client with provided
297
// base URL and upload URL (often the same URL and is your GitHub Enterprise hostname).
298
// If either URL does not have the suffix "/api/v3/", it will be added automatically.
299
-// If a nil httpClient is provided, http.DefaultClient will be used.
+// If a nil httpClient is provided, a new http.Client will be used.
300
//
301
// Note that NewEnterpriseClient is a convenience helper only;
302
// its behavior is equivalent to using NewClient, followed by setting
0 commit comments