Skip to content

Commit

Permalink
Use go install to install golint (#1967)
Browse files Browse the repository at this point in the history
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'
```
  • Loading branch information
samjewell authored Feb 12, 2025
1 parent aa63bb8 commit ebf4c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit ebf4c26

Please sign in to comment.