From df69c1b7a8e8349c763006b311425b9c853b95cb Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com> Date: Mon, 21 Nov 2022 19:30:26 +0100 Subject: [PATCH] Move tools.go into tools pkg (#527) --- Makefile | 2 +- tools.go => tools/tools.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) rename tools.go => tools/tools.go (53%) 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" )