Switch from golang/mock to uber-go/mock

See https://github.com/golang/mock#gomock: golang/mock is no longer
maintained, and should be replaced by go.uber.org/mock.

This allows golang/mock to be dropped from the status and vendored
fields in unwanted-dependencies.json.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
Stephen Kitt
2023-10-02 18:01:56 +02:00
parent 2ec63e0d28
commit 6bf667af06
49 changed files with 630 additions and 351 deletions

View File

@@ -27,7 +27,7 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
kube::golang::setup_env
echo 'installing mockgen'
go -C "${KUBE_ROOT}/hack/tools" install github.com/golang/mock/mockgen
go -C "${KUBE_ROOT}/hack/tools" install go.uber.org/mock/mockgen
function git_grep() {
git grep --untracked --exclude-standard \