diff options
Diffstat (limited to 'protoParse.go')
| -rw-r--r-- | protoParse.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protoParse.go b/protoParse.go index 8ba1c15..ba1ff4c 100644 --- a/protoParse.go +++ b/protoParse.go @@ -10,6 +10,7 @@ import ( "strings" "go.wit.com/lib/fhelp" + "go.wit.com/log" "golang.org/x/text/cases" "golang.org/x/text/language" ) @@ -188,5 +189,10 @@ func (pf *File) parseForMessage(line string) *MsgName { msg.DoMarshal = true // log.Info("Added Marshal=true:", msg.Name) } + if strings.Contains(line, "autogenpb:gui") { + log.Info("got autogenpb:gui") + pf.DoGui = true + // os.Exit(-1) + } return msg } |
