Jeff Carr
ea6ee3f76a
Signed-off-by: Jeff Carr <jcarr@wit.com> |
||
---|---|---|
example-protobuf | ||
.gitignore | ||
Makefile | ||
README.md | ||
events.pb.go | ||
events.proto | ||
sampleData.go |
README.md
notes
After you do a
go get git.wit.com/wit/witProtobuf
You must build the .go files by running protoc
cd ~/go/src/git.wit.com/wit/witProtobuf
make events.pb.go
You must use the current protoc-gen-go to get version3 protobuf support
apt remove golang-goprotobuf-dev
go get -u github.com/golang/protobuf/protoc-gen-go
cd ~/go/src/github.com/golang/protobuf/protoc-gen-go
go install