contrib/homebrew | ||
examples/dummy | ||
vendor/github.com | ||
.gitignore | ||
Dockerfile | ||
encoder.go | ||
glide.lock | ||
glide.yaml | ||
LICENSE | ||
main.go | ||
README.md |
protoc-gen-gotemplate
📂 protocol generator + golang text/template (protobuf)
Generic protocol buffer generator backed by Golang's text/template.
Usage
See 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