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 7daf2b5 commit 319f460Copy full SHA for 319f460
client/client.go
@@ -17,7 +17,7 @@ import (
17
// injectedHTTPClient is used for testing purposes
18
var injectedHTTPClient *http.Client
19
20
-// GetHTTPClient returns the shared HTTP client
+// GetHTTPClient returns the shared HTTP client, or the client from the configuration passed
21
func GetHTTPClient(config *Config) *http.Client {
22
if injectedHTTPClient != nil {
23
return injectedHTTPClient
0 commit comments