Hi Alex, Thank you for the reply. Yes, I agree with you on designing the protos first and using it in different languages. I will work in that direction.
Regards, Srinivas On Thursday, August 22, 2019 at 12:22:33 AM UTC-7, Alex Van Boxel wrote: > > I don't think that tooling exists todo this, but even if it did I would > strongly advice against it. I've worked in a project where proto's where > created for C# classes and keeping the proto's compatible with each change > of the C# classes was a nightmare. > > The great thing of working with proto's as a source for your code (be it > go or something else) is that you change your thinking pattern. It makes > you think about your contract, it's easy to keep compatible because you > know and see what you are doing with your messages. > > _/ > _/ Alex Van Boxel > > > On Thu, Aug 22, 2019 at 12:38 AM Srinivasa Rao Chirathanagandla < > [email protected] <javascript:>> wrote: > >> Hi, >> >> Is there a way to convert the go class to protobuf? I want to convert the >> following to .proto file. >> >> >> https://github.com/heptio/contour/blob/master/apis/generated/listers/contour/v1beta1/ingressroute.go >> >> Thanks in advance. >> >> Regards, >> Srinivas >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Protocol Buffers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/protobuf/1e95a6c8-629e-41cf-9265-7b0c7f310c2f%40googlegroups.com >> >> <https://groups.google.com/d/msgid/protobuf/1e95a6c8-629e-41cf-9265-7b0c7f310c2f%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/698450d9-acf2-434f-8870-1f6f8f9b214a%40googlegroups.com.
