revive

Fast, configurable linter for Go with extensible rules

brewmacoslinux
Try with needOr install directly
Source

About

Fast, configurable, extensible, flexible, and beautiful linter for Go

Commands

revive

Examples

Lint all Go files in the current directory$ revive ./...
Lint a specific Go file with default rules$ revive myfile.go
Lint with a custom configuration file$ revive -config .revive.toml ./...