added protobuf and badger deps and wrote proto file for calendar event

This commit is contained in:
steven carpenter 2025-07-03 20:07:18 -04:00
parent 39984e7c6a
commit c6437f429e
2 changed files with 18 additions and 0 deletions

View file

@ -61,6 +61,9 @@
gcc gcc
go_1_23 go_1_23
nixpkgs-fmt nixpkgs-fmt
protobuf
badger
protoc-gen-go
]; ];
env = { env = {
CGO_ENABLED = "1"; CGO_ENABLED = "1";

15
proto/calendar.proto Normal file
View 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;
}