From ebf4c26997aa27f76d71114de33e76caafcf8a1b Mon Sep 17 00:00:00 2001 From: Sam Jewell <2903904+samjewell@users.noreply.github.com> Date: Wed, 12 Feb 2025 15:25:49 +0000 Subject: [PATCH] Use `go install` to install golint (#1967) This is the recommended approach since Go 1.17 I was getting an error when running `make install`: ``` GO111MODULE=off go get -u golang.org/x/lint/golint go: modules disabled by GO111MODULE=off; see 'go help modules' ``` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 85c06e1..7675374 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ install: yarn install --pure-lockfile # Backend go install -v ./pkg/ - GO111MODULE=off go get -u golang.org/x/lint/golint + go install golang.org/x/lint/golint@latest deps-go: go install -v ./pkg/