summaryrefslogtreecommitdiff
path: root/auto.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-09 12:54:04 -0600
committerJeff Carr <[email protected]>2025-01-09 12:54:04 -0600
commite79ba634661baba562fa0ab9245040bd37c29f4c (patch)
treea0f0908d87ff9197ebc87dd6a715e002b2a0785c /auto.proto
parentc99d8763e6c85513c700d58cd1e2163c31d2187d (diff)
rename dir
Diffstat (limited to 'auto.proto')
-rw-r--r--auto.proto9
1 files changed, 5 insertions, 4 deletions
diff --git a/auto.proto b/auto.proto
index a44b63f..a19afa6 100644
--- a/auto.proto
+++ b/auto.proto
@@ -66,10 +66,11 @@ message MsgName {
string name = 1; // the name of the message aka struct. for this example: "Shelf"
string lockname = 2; // ShelfMU
bool doMarshal = 3; // if "Shelf" should have Marshal & Unmarshal functions
- bool doMutex = 4; // an experiment to insert a mutex into the protoc generated msg struct (bad idea?)
- bool mutexFound = 5; // an experiment to insert a mutex into the protoc generated msg struct (bad idea?)
- repeated string sort = 6; // "Book", "Picture", etc
- repeated string unique = 7; // if the fields should have AppendUnique() functions
+ bool doMutex = 4; // true if a mutex is needed for the message struct
+ bool doProtocMutex = 5; // an experiment to insert a mutex into the protoc generated msg struct (bad idea?)
+ bool mutexFound = 6; // true if the mutex was added to the protoc pb.go file
+ repeated string sort = 7; // "Book", "Picture", etc
+ repeated string unique = 8; // if the fields should have AppendUnique() functions
}
message File { // `autogenpb:nomarshal`