Skip to content

Commit ebf4c26

Browse files
authored
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' ```
1 parent aa63bb8 commit ebf4c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ install:
66
yarn install --pure-lockfile
77
# Backend
88
go install -v ./pkg/
9-
GO111MODULE=off go get -u golang.org/x/lint/golint
9+
go install golang.org/x/lint/golint@latest
1010

1111
deps-go:
1212
go install -v ./pkg/

0 commit comments

Comments
 (0)