Lint
We use golangci-lint
(official website, GitHub) for linting, which is a Go linters aggregator.
It’s also integrated with the GitHub Actions workflows.
- The list of linters enabled by default is documented here.
- It can be integrated with IDE
- You can run it locally.
Besides, we also use the Go Report Card.