simplify mockgen usage for private interfaces (#3769)

This commit is contained in:
Marten Seemann 2023-04-19 16:57:00 +02:00 committed by GitHub
parent 379e7ec848
commit c9a2f79b1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 325 additions and 310 deletions

View file

@ -11,7 +11,7 @@ import (
ipv4 "golang.org/x/net/ipv4"
)
// MockBatchConn is a mock of BatchConn interface.
// MockBatchConn is a mock of batchConn interface.
type MockBatchConn struct {
ctrl *gomock.Controller
recorder *MockBatchConnMockRecorder