2016-11-04 23:44:49 +03:00
|
|
|
# protoc-gen-gotemplate
|
|
|
|
:open_file_folder: protocol generator + golang text/template (protobuf)
|
2016-11-07 12:17:25 +03:00
|
|
|
|
|
|
|
Generic protocol buffer generator backed by Golang's [text/template](https://golang.org/pkg/text/template).
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
See [examples](./examples).
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
* Install the **Go** compiler and tools from https://golang.org/doc/install
|
|
|
|
* Install **protobuf**: `go get -u github.com/golang/protobuf/{proto,protoc-gen-go}`
|
|
|
|
* Install **protoc-gen-gotemplate**: `go get -u github.com/moul/protoc-gen-gotemplate`
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|