We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
go get
1 parent e6fa01e commit 391beecCopy full SHA for 391beec
Makefile
@@ -161,7 +161,7 @@ envtest: ## Download envtest-setup locally if necessary.
161
162
MOCKGEN = $(shell pwd)/bin/mockgen
163
mockgen: ## Download mockgen locally if necessary.
164
- $(call go-get-tool,$(MOCKGEN),github.com/golang/mock/mockgen)
+ $(call go-get-tool,$(MOCKGEN),github.com/golang/mock/mockgen@latest)
165
166
GOLINT = $(shell pwd)/bin/golangci-lint
167
golint: ## Download golangci-lint locally if necessary.
@@ -176,7 +176,7 @@ TMP_DIR=$$(mktemp -d) ;\
176
cd $$TMP_DIR ;\
177
go mod init tmp ;\
178
echo "Downloading $(2)" ;\
179
-GOBIN=$(PROJECT_DIR)/bin go get $(2) ;\
+GOBIN=$(PROJECT_DIR)/bin go install $(2) ;\
180
rm -rf $$TMP_DIR ;\
181
}
182
endef
0 commit comments