Skip to content

Commit 85c1536

Browse files
committed
added --typed flag to internal/discovery mockgen
1 parent 21c7c57 commit 85c1536

File tree

2 files changed

+54
-6
lines changed

2 files changed

+54
-6
lines changed

internal/discovery/discovery.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/ydb-platform/ydb-go-sdk/v3/trace"
2020
)
2121

22-
//go:generate mockgen -destination grpc_client_mock_test.go -package discovery -write_package_comment=false github.com/ydb-platform/ydb-go-genproto/Ydb_Discovery_V1 DiscoveryServiceClient
22+
//go:generate mockgen -destination grpc_client_mock_test.go --typed -package discovery -write_package_comment=false github.com/ydb-platform/ydb-go-genproto/Ydb_Discovery_V1 DiscoveryServiceClient
2323

2424
func New(ctx context.Context, cc grpc.ClientConnInterface, config *config.Config) *Client {
2525
return &Client{

internal/discovery/grpc_client_mock_test.go

Lines changed: 53 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)