Trying to use the prost
Some checks failed
ci/woodpecker/push/code_tests Pipeline failed
ci/woodpecker/push/pre_commit_test Pipeline failed

This commit is contained in:
2025-11-28 19:18:04 +01:00
parent 56aa1e1bbf
commit 2052178ebf
8 changed files with 52 additions and 78 deletions

18
lib/proto/items.proto Normal file
View File

@@ -0,0 +1,18 @@
syntax = "proto3";
package snazzy.items;
// A snazzy new shirt!
message Shirt {
// Label sizes
enum Size {
SMALL = 0;
MEDIUM = 1;
LARGE = 2;
}
// The base color
string color = 1;
// The size as stated on the label
Size size = 2;
}