summaryrefslogtreecommitdiff
path: root/protoParse.go
diff options
context:
space:
mode:
Diffstat (limited to 'protoParse.go')
-rw-r--r--protoParse.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/protoParse.go b/protoParse.go
index 37c1df2..474028c 100644
--- a/protoParse.go
+++ b/protoParse.go
@@ -197,6 +197,7 @@ func (pf *File) parseForMessage(line string) *MsgName {
log.Info("got autogenpb:http")
pf.DoHTTP = true
msg.DoHTTP = true
+ msg.DoMarshal = true // http requires Marshal
}
if strings.Contains(line, "`autogenpb:gui") {
log.Info("got autogenpb:gui")