๐Ÿ“ฆ dsymonds / gotoc

Protocol Buffer compiler written in Go

โ˜… 120 stars โ‘‚ 8 forks ๐Ÿ‘ 120 watching โš–๏ธ Other
๐Ÿ“ฅ Clone https://github.com/dsymonds/gotoc.git
HTTPS git clone https://github.com/dsymonds/gotoc.git
SSH git clone git@github.com:dsymonds/gotoc.git
CLI gh repo clone dsymonds/gotoc
David Symonds David Symonds Update README to mention new -params flag. 5aebcfc 9 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ ast
๐Ÿ“ gendesc
๐Ÿ“ parser
๐Ÿ“ testdata
๐Ÿ“„ .gitignore
๐Ÿ“„ LICENSE
๐Ÿ“„ main.go
๐Ÿ“„ Makefile
๐Ÿ“„ README.md
๐Ÿ“„ README.md

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