24 lines
420 B
Markdown
24 lines
420 B
Markdown
# notes
|
|
|
|
After you do a
|
|
|
|
```
|
|
go get git.wit.com/jcarr/witProtobuf
|
|
```
|
|
|
|
You must build the .go files by running protoc
|
|
|
|
```
|
|
cd ~/go/src/git.wit.com/jcarr/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
|
|
```
|