From 6105f9b5d65d70172c3a70212ed92c4a5f8144bb Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 11 May 2019 10:45:26 -0700 Subject: [PATCH] notes on generating the proto files. Signed-off-by: Jeff Carr --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 1f66d9e..1d19707 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,10 @@ 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 compile: