Language / Framework: Go
Go Version: 1.9.2
golint was created by the Go team at Google. It is a linter for Go code that suggests style issues that may need to be addressed.
To enable golint for your project, add the following to your
.codeclimate.yml configuration file:
plugins: golint: enabled: true
More information about the CLI is available in the README here: https://github.com/codeclimate/codeclimate
Golint assigns a confidence score to issues it finds: you can configure the minimum confidence of issues to report. The default value is 0.8.
plugins: golint: enabled: true config: min_confidence: 0.9
"Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes."
"Golint differs from govet. Govet is concerned with correctness, whereas golint is concerned with coding style. Golint is in use at Google, and it seeks to match the accepted style of the open source Go project."
From the official documentation.
Updated 3 years ago