Initial commit

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-07 01:22:53 -07:00
commit e186bad68d
3 changed files with 22 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pb.go

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
compile:
protoc --go_out=. *.proto
deps:
apt install golang-goprotobuf-dev
apt install protobuf-compiler
push:
git pull
git add --all
git commit -a -s

10
events.proto Normal file
View File

@ -0,0 +1,10 @@
syntax = "proto2";
package witProto;
enum FOO { X = 17; };
message Event {
required string label = 1;
optional int32 type = 2 [default=77];
repeated int64 reps = 3;
}