summaryrefslogtreecommitdiff
path: root/patch.common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-06 23:10:07 -0500
committerJeff Carr <[email protected]>2025-10-06 23:10:07 -0500
commit75439164d72987f3bfe165cea92d0b7b3c8a2854 (patch)
treef587b59fdf2399d0d29305002e997c1ab11efc97 /patch.common.go
parent12e94cdbf8fd4d6717dc5554f9c76e1f17e99f96 (diff)
allows autogenerated pb.Load() pb.Save()
Diffstat (limited to 'patch.common.go')
-rw-r--r--patch.common.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/patch.common.go b/patch.common.go
new file mode 100644
index 0000000..6840681
--- /dev/null
+++ b/patch.common.go
@@ -0,0 +1,23 @@
+// Code generated by go.wit.com/apps/autogenpb DO NOT EDIT.
+// This file was autogenerated with autogenpb v0.5.16 1759750073
+// go install go.wit.com/apps/autogenpb@latest
+//
+// define which structs (messages) you want to use in the .proto file
+// Then sort.pb.go and marshal.pb.go files are autogenerated
+//
+// autogenpb uses it and has an example .proto file with instructions
+//
+
+package forgepb
+
+import (
+ "go.wit.com/lib/config"
+)
+
+func (p *Patches) Save() error {
+ return config.Save(p)
+}
+
+func (p *Patches) Load() error {
+ return config.Load(p)
+}