Re: [go-nuts] protoc question

2018-11-18 Thread Tharaneedharan Vilwanathan
Hi Josh, Got it! I had it all working but I was a bit confused when I noticed only Go related help text was missing in help text. Thanks for the quick response and clarification! Regards dharani On Sun, Nov 18, 2018 at 2:06 PM Josh Humphries wrote: > Support for Go is not built into protoc.

Re: [go-nuts] protoc question

2018-11-18 Thread Josh Humphries
Support for Go is not built into protoc. Instead, Go code gen relies on a protoc plugin. A serious omission from the help output for protoc is how to use plugins: --_out Generate source code by invoking plugin program named protoc-gen-. So, to use the --go_out flag, you need to install the Go

[go-nuts] protoc question

2018-11-18 Thread Tharaneedharan Vilwanathan
Hi All, I have a minor question. When I run "protoc --help", I do not see "go_out" option but I see others: --cpp_out=OUT_DIR Generate C++ header and source. --csharp_out=OUT_DIRGenerate C# source file. --java_out=OUT_DIR Generate Java source file.