fix: add linter exceptions for current code style
This commit is contained in:
parent
9aaa97d2a1
commit
be915c8d38
3 changed files with 4 additions and 1 deletions
|
@ -109,9 +109,9 @@ func (c *Client) do(req *http.Request, v any) (*Response, error) {
|
|||
return resp, err
|
||||
}
|
||||
defer httpResp.Body.Close()
|
||||
defer resp.Body.Close()
|
||||
|
||||
body, err := io.ReadAll(resp.Body)
|
||||
resp.Body.Close()
|
||||
if err != nil {
|
||||
return resp, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue