Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 773 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 773 Bytes

gotoc

This is gotoc, a protocol buffer compiler written in Go.

This is only the parser side; you will need a plugin to generate code.

Quick Start

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

License

This is licensed under the BSD 3-Clause Licence. See the LICENSE file for more details.

Read more