- SonarQube scanner should run on an x86-64 Windows, macOS or Linux machine.
- You need the Go installation on the scanner machine only if you want to import coverage data.
You can discover and update the Go-specific properties in Administration > General Settings > Languages > Go
By default, all the
vendor directories are excluded from the analysis. However, you can change the property
sonar.go.exclusions to a different pattern if you want to force their analysis (not recommended).
Here is a first version of a
sonar-project.properties file, valid for a simple
- Test coverage and execution
- Importing external issues (GoVet, GoLint, GoMetaLinter)
© 2008-2023, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution-NonCommercial 3.0 United States License. SONARQUBE is a trademark of SonarSource SA. All other trademarks and copyrights are the property of their respective owners.