Skip to content

Commit 7726a3e

Browse files
Update github.go (#1464)
1 parent f5442b7 commit 7726a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ func NewClient(httpClient *http.Client) *Client {
296296
// NewEnterpriseClient returns a new GitHub API client with provided
297297
// base URL and upload URL (often the same URL and is your GitHub Enterprise hostname).
298298
// 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.
299+
// If a nil httpClient is provided, a new http.Client will be used.
300300
//
301301
// Note that NewEnterpriseClient is a convenience helper only;
302302
// its behavior is equivalent to using NewClient, followed by setting

0 commit comments

Comments
 (0)