summaryrefslogtreecommitdiff
path: root/file.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-26 05:28:26 -0500
committerJeff Carr <[email protected]>2025-03-26 20:44:06 -0500
commitcb8d3f624cf8dd958c75e5f83128e38ed8547b00 (patch)
tree470998d0819ee38da002aef40d8f2bd21ca1aa43 /file.proto
parentae29d5cc674e0465c5861c1d261421bbe2725043 (diff)
add 'enum' and 'oneof' detection
Diffstat (limited to 'file.proto')
-rw-r--r--file.proto3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.proto b/file.proto
index 94e05dd..62033f3 100644
--- a/file.proto
+++ b/file.proto
@@ -14,7 +14,7 @@ syntax = "proto3";
// You can generate Marshal & Unmarshal for any struct (message) you want
// You can generate SortBy and Append functions ONLY FOR 'repeated <message>'
// Also, those structs must be defined in the same file
-// Additionally, you must use `autogenpb:mutex` on the parent struct.
+// Additionally, you must use `autogenpb:mutex` on the parent struct.
// The autogenerated code requires a RW mutex and autogenpb will insert it into the struct
package main;
@@ -66,6 +66,7 @@ message FormatMsg {
int64 maxVartype = 3; // max string length of var types
repeated FormatMsg inceptionMsgs = 4; // messages inside messages
repeated FormatMsg enums = 5; // locally defined enums
+ repeated FormatMsg oneofs = 6; // locally defined oneofs
}
message Find {