commit
e186bad68d
|
@ -0,0 +1 @@
|
|||
*.pb.go
|
|
@ -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
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue