feat: add golangci-lint for go linting

This commit is contained in:
Stavros
2026-05-09 18:00:41 +03:00
parent 1b18e68ce0
commit 3da9a5b18b
16 changed files with 43 additions and 30 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ func (app *BootstrapApp) heartbeatRoutine() {
continue
}
res.Body.Close()
res.Body.Close() //nolint:errcheck
if res.StatusCode != 200 && res.StatusCode != 201 {
tlog.App.Debug().Str("status", res.Status).Msg("Heartbeat returned non-200/201 status")
+1 -1
View File
@@ -36,7 +36,7 @@ func (app *BootstrapApp) initServices(queries *repository.Queries) (Services, er
if err != nil {
tlog.App.Warn().Err(err).Msg("Failed to setup LDAP service, starting without it")
ldapService.Unconfigure()
ldapService.Unconfigure() //nolint:errcheck
}
services.ldapService = ldapService