Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Enables the powerful SonarGo analyzer to scan GoLang 1.0+ files.

Prerequisites

  • SonarQube Scanner should run on a x86-64 Windows, macOS or Linux 64bits machine

  • You need the Go installation on the scan machine only if you want to import coverage data

First Analysis of a Go Project

...

Code Block
sonar.projectKey=com.company.projectkey1
sonar.projectName=My Project Name


sonar.sources=.
sonar.exclusions="**/*_test.go,**/vendor/**"


sonar.tests=.
sonar.test.inclusions="**/*_test.go"
sonar.test.exclusions="**/vendor/**"


Advanced Usage

With SonarGo, you can also: