Amit Saha
unread,May 9, 2021, 4:03:43 AM5/9/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
Hi all, for folks who are generating Go code, how are you importing
them into your server and client? As far as I see it now, the protoc
command will not generate a go.mod file in the generated code which
means - you have to do it manually and then import them into your
server and client. That is, you will have three modules:
- One for server
- One for client
- One for the generated code
This seems to be the cleanest approach. During local development, we
will then use the "replace" directive for iteration.
I am keen to hear how it's being done by others in the community.
Thanks,
Amit.