summaryrefslogtreecommitdiff
path: root/protoParse.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-14 00:15:16 -0500
committerJeff Carr <[email protected]>2025-10-14 00:15:16 -0500
commitc182558c57fcc02314dbb109b8e515c37a8e00a9 (patch)
tree7c4191f1ec3665e8959580904db96ef1af8549f6 /protoParse.go
parentdcb04361546732abf90748a04ddd5eeba262bd3a (diff)
wasn't finding save on proto msgv0.5.23
Diffstat (limited to 'protoParse.go')
-rw-r--r--protoParse.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/protoParse.go b/protoParse.go
index 6ecaa9d..03673b6 100644
--- a/protoParse.go
+++ b/protoParse.go
@@ -205,6 +205,9 @@ func (pf *File) parseForMessage(line string) *MsgName {
if strings.Contains(line, "`autogenpb:marshal`") {
msg.DoMarshal = true
}
+ if strings.Contains(line, "`autogenpb:save") {
+ pf.DoSave = true
+ }
if strings.Contains(line, "`autogenpb:http") {
log.Info("got autogenpb:http")
pf.DoHTTP = true