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 738de6d commit dfa5a8aCopy full SHA for dfa5a8a
templates/client.tmpl
@@ -33,7 +33,7 @@ type ClientOption func(*{{ $clientTypeName }}) error
33
// Creates a new {{ $clientTypeName }}, with reasonable defaults
34
func NewClient(server string, opts ...ClientOption) (*{{ $clientTypeName }}, error) {
35
retryClient := retryablehttp.NewClient()
36
- retryClient.Logger = nil
+ retryClient.Logger = nil
37
opts = append([]ClientOption{WithHTTPClient(retryClient.StandardClient())}, opts...)
38
// create a client with sane default values
39
client := {{ $clientTypeName }}{
0 commit comments