added protobuf and badger deps and wrote proto file for calendar event
This commit is contained in:
parent
39984e7c6a
commit
c6437f429e
2 changed files with 18 additions and 0 deletions
15
proto/calendar.proto
Normal file
15
proto/calendar.proto
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package calendar;
|
||||
|
||||
option go_package = "calendar";
|
||||
|
||||
message Event {
|
||||
string title = 1;
|
||||
string description = 2;
|
||||
int32 year = 3;
|
||||
int32 month = 4;
|
||||
int32 day = 5;
|
||||
int32 start_hour = 6;
|
||||
int32 end_hour = 7;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue