chore: use uber gomock instead of golang/mock (#5075)

This commit is contained in:
Kevin Wan
2025-08-10 23:01:08 +08:00
committed by GitHub
parent b7f601c912
commit 1c9d339361
8 changed files with 62 additions and 54 deletions

View File

@@ -9,7 +9,6 @@ import (
"testing"
"time"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
"github.com/zeromicro/go-zero/core/discov/internal"
"github.com/zeromicro/go-zero/core/lang"
@@ -17,6 +16,7 @@ import (
"github.com/zeromicro/go-zero/core/stringx"
"go.etcd.io/etcd/api/v3/mvccpb"
clientv3 "go.etcd.io/etcd/client/v3"
"go.uber.org/mock/gomock"
"golang.org/x/net/http2"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"