diff options
Diffstat (limited to 'file.proto')
| -rw-r--r-- | file.proto | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 { |
