Brew install golangci lint reports an error
Installation command:
brew install golangci-lint
report errors:
Error: No such file or directory @ rb_sysopen - /Users/...-go-1.16.6.big_sur.bottle.tar.gz
reason:
Go version problem
go 1.16.5 is already installed but outdated
Solution:
install go first and then golangci lint
brew install go
brew install golangci-lint