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

@@ -26,8 +26,8 @@ import (
"testing"
"time"
"github.com/golang/mock/gomock"
cadvisorapiv2 "github.com/google/cadvisor/info/v2"
"go.uber.org/mock/gomock"
"github.com/opencontainers/runc/libcontainer/cgroups"
"github.com/stretchr/testify/assert"