Skip to content
Documentation

Documentation

sonarqube-client-go is a type-safe Go client library and command-line interface for the SonarQube web API.

  • Go SDK (sonar package): strongly typed request options and responses, token or basic authentication, V1 and V2 APIs, opt-in retries, pluggable HTTP middleware.
  • CLI (sonar-cli): every SDK service and method as a subcommand, JSON / YAML / table output, automatic pagination, shell completion.

These guides explain how to use both. The details of every type and method are in the API reference on pkg.go.dev.