1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00
Files
installer/tools.go
Patrick Dillon e1f1348d7a switch to go.uber.org/mock/gomock
Our existing genmock package is deprecated. go.uber.org/mock/gomock is
now recognized as the official fork.
2025-01-30 17:06:24 -05:00

19 lines
638 B
Go

//go:build tools
// +build tools
// Official workaround to track tool dependencies with go modules:
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
// TODO: go 1.23 (added for grep) should be the last version where we need to do this. With
// go 1.24 we should be able to use the go tool command https://tip.golang.org/doc/go1.24#go-command
package tools
import (
_ "github.com/daixiang0/gci" // dependency of hack/go-fmt.sh
// used to generate mocks
_ "go.uber.org/mock/mockgen"
// dependency of generating CRD for install-config
_ "sigs.k8s.io/controller-tools/cmd/controller-gen"
)