Fix build issue with vendored sources

Fix a build issue when `go mod vendor` was used to vendor all the sources.
This now includes Mage (`github.com/magefile/mage/mage`), so that the
build tool itself can be built too.
This commit is contained in:
Sybren A. Stüvel 2024-11-11 11:00:59 +01:00
parent 30997013b1
commit b84523c0ae

View File

@ -10,4 +10,9 @@ import (
// Go code generators: // Go code generators:
_ "github.com/deepmap/oapi-codegen/cmd/oapi-codegen" _ "github.com/deepmap/oapi-codegen/cmd/oapi-codegen"
_ "github.com/golang/mock/mockgen" _ "github.com/golang/mock/mockgen"
// Our build tool. Normally this isn't necessary, but it's needed to be able
// to build the tool when `go mod vendor` has been used to vendor the
// dependencies.
_ "github.com/magefile/mage/mage"
) )