golang no_client and no_server flags

270 views
Skip to first unread message

Mihails Kuzmins

unread,
Aug 28, 2021, 2:06:21 PM8/28/21
to grpc.io
Hello,

in c# there are "no_client" and "no_server" flags so that only the required code is generated (see this PR: https://github.com/grpc/grpc/pull/6284)

it looks like in golang there are no such flags, so I am wondering: is it possible to add this feature to golang as well?

I have tried this command:
>  protoc --go_out=./src2/webservice --go-grpc_out=no_client:./src2/webservice ./src2/proto/*.proto
and got an error:
"protoc-gen-go-grpc: no such flag -no_client"

Best regards,
Mihails
Reply all
Reply to author
Forward
0 new messages