Update golangci-lint and fix lint errors

This commit is contained in:
Deluan
2023-02-02 11:10:28 -05:00
parent cf04db7a98
commit 0ce750d469
4 changed files with 109 additions and 92 deletions
+1
View File
@@ -46,6 +46,7 @@ func NewCachedHTTPClient(wrapped httpDoer, ttl time.Duration) *CachedHTTPClient
if err != nil {
return nil, 0, err
}
defer resp.Body.Close()
return c.serializeResponse(resp), ttl, nil
})
c.cache.SetNewItemCallback(func(key string, value interface{}) {