SonarSource provides a static code analyzer for Go. Based on the GoLang compiler front-end, SonarGo analyzes code to find code smells, bugs and security vulnerabilities. As for any product we develop at SonarSource, it was built on the following principles: depth, accuracy and speed.
SonarGo has a great coverage of well-established quality standards. The SonarGo capability is available throughout the development chain for automated code review with self-hosted SonarQube or on-line SonarCloud.
SonarGo can easily load the coverage data generated by the native coverage tool provided by GoLang and supports Cognitive Complexity metric.
It supports all the standard metrics implemented by SonarQube including the Cognitive Complexity one.