witProtobuf/README.md

24 lines
419 B
Markdown
Raw Normal View History

## 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
```