summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patch.common.go23
-rw-r--r--patch.proto2
2 files changed, 1 insertions, 24 deletions
diff --git a/patch.common.go b/patch.common.go
deleted file mode 100644
index 6840681..0000000
--- a/patch.common.go
+++ /dev/null
@@ -1,23 +0,0 @@
-// 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)
-}
diff --git a/patch.proto b/patch.proto
index f4311ed..713e2b6 100644
--- a/patch.proto
+++ b/patch.proto
@@ -66,5 +66,5 @@ message Patches { // `autogenpb:marshal`
string version = 2; // `autogenpb:version:v2.0.0`
repeated Patch patches = 3;
string Error = 4; // when passing these around, if there is an error, store it here
- string Filename = 5; // allows autogenpb Save()
+ string filename = 6; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
}