notes on generating the proto files.
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
8813c6090f
commit
6105f9b5d6
6
Makefile
6
Makefile
|
@ -1,4 +1,10 @@
|
||||||
events.pb.go: events.proto
|
events.pb.go: events.proto
|
||||||
|
# go get -u github.com/golang/protobuf/protoc-gen-go
|
||||||
|
# you probably also want to do:
|
||||||
|
# apt remove golang-goprotobuf-dev
|
||||||
|
# and use the one you built instead
|
||||||
|
# protoc --version 3.6++ does not mean that protoc will generate version3 .go files
|
||||||
|
protoc --version
|
||||||
protoc --go_out=. events.proto
|
protoc --go_out=. events.proto
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
|
|
Loading…
Reference in New Issue