summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-22 08:50:37 -0500
committerJeff Carr <[email protected]>2025-09-22 08:50:37 -0500
commit6c9a3dd63249d6a88a7ddbb3d420327e7a41cc23 (patch)
tree1648b833bdb1cfdf8b5641038346451d5b3c54b7
parent3a13970536e0963a1b930102c01cfb9b5c91df17 (diff)
http needs Marshal()
-rw-r--r--example/fruit.proto2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/fruit.proto b/example/fruit.proto
index 0d28a13..f7b8f7d 100644
--- a/example/fruit.proto
+++ b/example/fruit.proto
@@ -55,7 +55,7 @@ message Basket { // `autogenpb:nomutex`
repeated Apple stacks = 6;
}
// "Fruit" must exist. you can put anything in it
-message Fruit { // `autogenpb:http`
+message Fruit { // `autogenpb:http` `autogenpb:marshal`
string brand = 1; // `autogenpb:unique` `autogenpb:sort`
Apple apples = 2;
repeated Pear pears = 3;