Linting fixes.

This commit is contained in:
2021-11-21 14:45:09 +05:00
parent 16be332d38
commit 26ce90bb84
13 changed files with 69 additions and 55 deletions

View File

@@ -23,13 +23,14 @@ type Client struct {
// NewClient creates new Metricator client.
func NewClient(config *Config, logger *logger.Logger) *Client {
c := &Client{
// nolint:exhaustivestruct
client := &Client{
config: config,
logger: logger,
}
c.initialize()
client.initialize()
return c
return client
}
// Executes request and parses it's contents.