diff options
Diffstat (limited to 'protoParse.go')
| -rw-r--r-- | protoParse.go | 3 |
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 |
