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'
```
This commit is contained in:
Sam Jewell
2025-02-12 15:25:49 +00:00
committed by GitHub
parent aa63bb8835
commit ebf4c26997

View File

@@ -6,7 +6,7 @@ install:
yarn install --pure-lockfile yarn install --pure-lockfile
# Backend # Backend
go install -v ./pkg/ go install -v ./pkg/
GO111MODULE=off go get -u golang.org/x/lint/golint go install golang.org/x/lint/golint@latest
deps-go: deps-go:
go install -v ./pkg/ go install -v ./pkg/