tools: add mockery to tools.go and remove mockery version strings (#6787)

This change aims to keep versions of mockery consistent across developer laptops.

This change adds mockery to the `tools.go` file so that its version can be managed consistently in the `go.mod` file.

Additionally, this change temporarily disables adding mockery's version number to generated files. There is an outstanding issue against the mockery project related to the version string behavior when running from `go get`. I have created a pull request to fix this issue in the mockery project.
see: https://github.com/vektra/mockery/issues/397
This commit is contained in:
William Banfield
2021-07-30 20:47:15 +00:00
committed by GitHub
parent 02f8e4c0bd
commit 4e96c6b234
38 changed files with 54 additions and 34 deletions
+1
View File
@@ -8,4 +8,5 @@ package tools
import (
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
_ "github.com/vektra/mockery/v2"
)