summaryrefslogtreecommitdiff
path: root/doc.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-20 05:50:38 -0500
committerJeff Carr <[email protected]>2025-10-20 05:50:38 -0500
commit8a24584262a90956e012cee7b03c8c2b9f4b794c (patch)
tree8b7d0afd04e717d7c07da5eb2894debd74ec2307 /doc.go
parentb6e93c08d601a7a6c27a0fdcdf98f6cb7dc9ccd8 (diff)
reworking this to make it more sane. hopefully.
Diffstat (limited to 'doc.go')
-rw-r--r--doc.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc.go b/doc.go
new file mode 100644
index 0000000..63ba20a
--- /dev/null
+++ b/doc.go
@@ -0,0 +1,18 @@
+// Because you followed autogenpb's advice (you did follow it right?) you now
+// win the automation lottery.
+//
+// for this .proto file, GetProtobufName(pb) returns "repos"
+// Then, ConfigLoad(), ConfigSave(), CacheLoad() and CacheSave()
+// all do exactly what is expected:
+//
+// Automatically work with the files:
+// ~/.config/<appname>/repos.pb
+// or
+// ~/.cache/<appname/repos.pb
+//
+// message Repos {
+// string uuid = 1;
+// string version = 2;
+// repeated Repo repos = 3;
+
+package config