This is gotoc, a protocol buffer compiler written in Go.
This is only the parser side; you will need a plugin to generate code.
go get github.com/dsymonds/gotoc
go get github.com/golang/protobuf/protoc-gen-go
gotoc foo.proto
To enable gRPC output, use the -params
flag:
gotoc -params plugins=grpc foo.proto
This is licensed under the BSD 3-Clause Licence. See the LICENSE file for more details.