From 3577f0674c1e37faf316b0f73aa00bea335fa792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Garcia?= Date: Wed, 6 Jul 2022 20:09:50 -0300 Subject: [PATCH] Update Makefile to use go install instead of the old go get --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f265caa..e97559a 100644 --- a/Makefile +++ b/Makefile @@ -36,15 +36,14 @@ mock: setup setup: $(GOBIN)/richgo $(GOBIN)/staticcheck $(GOBIN)/mockgen $(GOBIN)/richgo: - go get github.com/kyoh86/richgo + go install github.com/kyoh86/richgo@latest $(GOBIN)/staticcheck: go install honnef.co/go/tools/cmd/staticcheck@latest $(GOBIN)/mockgen: @# (Gomock is used on examples/example_service) - go get github.com/golang/mock/gomock - go get github.com/golang/mock/mockgen + go install github.com/golang/mock/mockgen@latest # Running examples: exampleservice: mock