witProtobuf/README.md

27 lines
490 B
Markdown
Raw Permalink Normal View History

## notes
# example dns protobuf code
# https://github.com/dnstap/golang-dnstap
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
```