From d8ce54edfbc84d6880f06373b226976a1e702090 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 6 Oct 2025 23:29:42 -0500 Subject: autogenerated pb.Load() and pb.Save() very nice --- example/fruit.proto | 1 + 1 file changed, 1 insertion(+) (limited to 'example/fruit.proto') 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 junk = 5; + string filename = 6; // `autogenpb:sort` -- this enables autogenerated pb.Load() and pb.Save() } -- cgit v1.2.3