diff options
| author | Jeff Carr <[email protected]> | 2025-10-06 23:29:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-06 23:29:42 -0500 |
| commit | d8ce54edfbc84d6880f06373b226976a1e702090 (patch) | |
| tree | 78ef3ed626bba75b6655e32aa8aa050d422d80d5 /example/fruit.proto | |
| parent | 1cc17983d5867a5254845bed559f8f460d360928 (diff) | |
autogenerated pb.Load() and pb.Save() very nice
Diffstat (limited to 'example/fruit.proto')
| -rw-r--r-- | example/fruit.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/fruit.proto b/example/fruit.proto index f7b8f7d..2f2c908 100644 --- a/example/fruit.proto +++ b/example/fruit.proto @@ -74,4 +74,5 @@ message Fruits { // `autogenpb:marshal` ` repeated Fruit Fruits = 3; // THIS MUST BE "Fruit" and then "Fruit" + "s" int64 cost = 4; // you can add additional things here but the three lines above must conform to the standard above map<string, string> junk = 5; + string filename = 6; // `autogenpb:sort` -- this enables autogenerated pb.Load() and pb.Save() } |
