diff options
| author | Jeff Carr <[email protected]> | 2025-01-09 20:23:52 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-09 20:23:52 -0600 |
| commit | b9fec2e81487b4948a6e221d3768ea4dfb12de42 (patch) | |
| tree | d0acd5a81617efbc260e56589679103b70b65395 /file.proto | |
| parent | 3f81cca18c6f55f303bddc5c4d992cd53894726e (diff) | |
can't sort structs yet
Diffstat (limited to 'file.proto')
| -rw-r--r-- | file.proto | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ message MsgName { repeated string unique = 8; // if the fields should have AppendUnique() functions } -message File { // `autogenpb:nomarshal` +message File { string Package = 1; // whatever the package name is at the top of the .go file string filename = 2; // yellow.proto string pbfilename = 3; // yellow.pb.go @@ -47,7 +47,7 @@ message File { // `autogenpb:nomarshal` MsgName base = 8; // the primary repeated message for the master struct // every struct in this proto file, this file has: "Apple", "Apples", ... "File", etc... - repeated MsgName msgNames = 9; // `autogenpb:unique` // in this file + repeated MsgName msgNames = 9; } // I know, I know, the whole point of using protobuf |
