docs: fix lint issues in examples and tutorials (#759)

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2023-06-09 13:33:53 -03:00
committed by GitHub
parent b2d2ac6504
commit b80eb8303b
18 changed files with 47 additions and 66 deletions

View File

@@ -76,7 +76,7 @@ func checkServer() tea.Msg {
if err != nil {
return errMsg{err}
}
defer res.Body.Close()
defer res.Body.Close() // nolint:errcheck
return statusMsg(res.StatusCode)
}