I\'m trying to install golint with the command: go get -u golang.org/x/lint/golint. And I think I got two problems:
go get: warning: modules disabled by GO
I ran this command
export GO111MODULE="on"
and that worked for me...