summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 09:18:18 -0500
committerJeff Carr <[email protected]>2025-10-22 09:18:18 -0500
commit6856b9c4943c994e77d37a69d11027783a95437c (patch)
tree50918cca18c42c333915eba5e58a501bd301a03a
parentf8db398611446627816a14af6b3fe52b15c21191 (diff)
step1v0.5.30
-rw-r--r--generateHeader.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/generateHeader.go b/generateHeader.go
index 2aa7c5e..eafc25b 100644
--- a/generateHeader.go
+++ b/generateHeader.go
@@ -101,11 +101,11 @@ func (pb *File) addNewFunc(w io.Writer) {
if pb.DoSave {
fmt.Fprintln(w, "")
fmt.Fprintln(w, "func (pb *"+STRUCT+") Save() error {")
- fmt.Fprintln(w, " return config.SavePB(pb)")
+ fmt.Fprintln(w, " return config.Save(pb)")
fmt.Fprintln(w, "}")
fmt.Fprintln(w, "")
fmt.Fprintln(w, "func (pb *"+STRUCT+") Load() error {")
- fmt.Fprintln(w, " return config.LoadPB(pb)")
+ fmt.Fprintln(w, " return config.ReLoad(pb)")
fmt.Fprintln(w, "}")
}
}