https://github.com/dsymonds/gotoc
Protocol Buffer compiler written in Go
https://github.com/dsymonds/gotoc
Last synced: 6 months ago
JSON representation
Protocol Buffer compiler written in Go
- Host: GitHub
- URL: https://github.com/dsymonds/gotoc
- Owner: dsymonds
- License: other
- Created: 2010-11-07T06:35:27.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T04:39:36.000Z (over 9 years ago)
- Last Synced: 2024-06-18T15:40:27.506Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 99.6 KB
- Stars: 120
- Watchers: 8
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
-----------
```shell
go get github.com/dsymonds/gotoc
go get github.com/golang/protobuf/protoc-gen-go
gotoc foo.proto
```
To enable [gRPC](http://www.grpc.io/) output, use the `-params` flag:
```shell
gotoc -params plugins=grpc foo.proto
```
License
-------
This is licensed under the [BSD 3-Clause Licence](http://opensource.org/licenses/BSD-3-Clause).
See the LICENSE file for more details.
Read more
---------
* [The protocol buffers open source project](https://developers.google.com/protocol-buffers/)
* [The Go protocol buffer code generator plugin and support library](https://github.com/golang/protobuf)