https://github.com/golang/protobuf
protoc-gen-go
is a plugin in protoc which generates go bindings for the input proto definition.
protoc-gen-go
also has a plugin framework for which grpc
is a plugin plugin
https://github.com/golang/protobuf/tree/master/protoc-gen-go/grpc
$ protoc ./helloworld.proto --go_out=plugins=grpc:.
is it possible that that i write my own plugin and invoke it along with grpc plugin?
$ protoc ./helloworld.proto --go_out=plugins=grpc+myplugin:.
do i need to mandatory build my plugin into protoc-gen-go ? if no, then how will the protoc-gen-go find myplugin ?