Add Install instructions (fix #2)

This commit is contained in:
Manfred Touron 2016-11-07 10:17:25 +01:00
parent 84c1d65fd3
commit 32072ab20b
No known key found for this signature in database
GPG Key ID: 9CCF47DF1FD978A1

View File

@ -1,2 +1,18 @@
# protoc-gen-gotemplate # protoc-gen-gotemplate
:open_file_folder: protocol generator + golang text/template (protobuf) :open_file_folder: protocol generator + golang text/template (protobuf)
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