Why am I even doing this

This commit is contained in:
2025-07-05 09:12:17 -04:00
parent f134ca4979
commit 0b2d033cd8
4 changed files with 1 additions and 1 deletions
@@ -0,0 +1,32 @@
syntax = "proto3";
package tutorial;
import "google/protobuf/timestamp.proto";
option go_package = "git.meatballhat.com/x/box-o-sand/protobuffery/pb";
message Person {
string name = 1;
int32 id = 2;
string email = 3;
message PhoneNumber {
string number = 1;
PhoneType type = 2;
}
repeated PhoneNumber phones = 4;
google.protobuf.Timestamp last_updated = 5;
}
enum PhoneType {
PHONE_TYPE_UNSPECIFIED = 0;
PHONE_TYPE_MOBILE = 1;
PHONE_TYPE_HOME = 2;
PHONE_TYPE_WORK = 3;
}
message AddressBook {
repeated Person people = 1;
}