autogenpb/README

24 lines
625 B
Plaintext
Raw Normal View History

2024-12-31 13:24:00 -06:00
This app will autogenerate protobuf Sort() and Marshal() functions
It was designed to work on .proto files designed with a standard
way that utilizes this method:
apple.proto should have
message Apples {
string uuid
string version
repeaded Apple Apples
}
message Apple {
<whatever you want here>
}
This "scheme" as it were will be familar to others as a common way to pluralize data formats.
In general, this is turning out to be a good way to handle protocol buffers for me so far.
There are several things that can be put in the protobuf file to trigger what files are made.
See the examples for how to do this.