diff --git a/Makefile b/Makefile index 0bdb8b14b..b8c316cca 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ deps: ## Download dependencies $(GO_BIN)/mockgen: ${call print, "Installing mockgen"} - @go install -v github.com/golang/mock/mockgen@v1.4.4 + @go install -v github.com/golang/mock/mockgen@latest $(GO_BIN)/golangci-lint: ${call print, "Installing golangci-lint"} diff --git a/tools.go b/tools/tools.go similarity index 53% rename from tools.go rename to tools/tools.go index 7a518f519..9295fa79b 100644 --- a/tools.go +++ b/tools/tools.go @@ -1,7 +1,9 @@ +//go:build tools // +build tools -package main +package tools import ( + // Generator for mocks. _ "github.com/golang/mock/mockgen" )