Re: [go-nuts] Fwd: protoc-gen-go and go modules

2021-05-13 Thread Amit Saha
On Thu, 13 May 2021, 11:20 am Jim Idle, wrote: > Create a separate module that contains only the .proto files and use the > generate directive. You can then version that module and share it. If your > client is some other language, you can generate Its code from the same repo > at the same versio

Re: [go-nuts] Fwd: protoc-gen-go and go modules

2021-05-12 Thread Jim Idle
Create a separate module that contains only the .proto files and use the generate directive. You can then version that module and share it. If your client is some other language, you can generate Its code from the same repo at the same version using your CI. For instance generate a pip wheel as wel

[go-nuts] Fwd: protoc-gen-go and go modules

2021-05-12 Thread Amit Saha
Hi all, this is only relevant to people using grpc. I posted the query below to the grpc mailing list, thought of posting it here as welll. How are you importing the generated definitions and other resources them into your server and client? As far as I see it now, the protoc command will not gen