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