Description:
This issue is to address linting warnings reported by golangci-lint.
What’s done:
Ran golangci-lint run and fixed 97 warnings across the repository.
Fixed issues from the following categories:
errcheck – checked all error returns.
revive – added missing package and exported function/type comments.
staticcheck – minor fixes like capitalized error strings.
Remaining:
61 warnings remain (mostly gosec security issues and a few revive comments).
These will be handled in separate PRs.
Goal:
Clean up the codebase and improve code quality, while leaving more complex security issues for future work.
Description:
This issue is to address linting warnings reported by golangci-lint.
What’s done:
Ran golangci-lint run and fixed 97 warnings across the repository.
Fixed issues from the following categories:
errcheck – checked all error returns.
revive – added missing package and exported function/type comments.
staticcheck – minor fixes like capitalized error strings.
Remaining:
61 warnings remain (mostly gosec security issues and a few revive comments).
These will be handled in separate PRs.
Goal:
Clean up the codebase and improve code quality, while leaving more complex security issues for future work.