summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README28
1 files changed, 9 insertions, 19 deletions
diff --git a/README b/README
index da987ea..e14b614 100644
--- a/README
+++ b/README
@@ -1,23 +1,13 @@
-This app will autogenerate protobuf Sort() and Marshal() functions
+# This app will autogenerate Sort() and Marshal() functions for .proto files
-It was designed to work on .proto files designed with a standard
-way that utilizes this method:
+# It was designed to work on .proto files designed with a .proto standard
-apple.proto should have
+* This will generate:
+* Marshal() functions (to protoWIRE, protoTEXT and protoJSON)
+* SortBy() functions
+* FindBy() functions
+* DeleteBy() functions
+* AppendBy() functions
-message Apples {
- string uuid
- string version
- repeaded Apple Apples
-}
+# See the examples/ for a sample fruit.proto file that documents what is needed
-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.