diff options
| author | Jeff Carr <[email protected]> | 2025-02-20 09:38:47 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-20 09:38:47 -0600 |
| commit | 68eea60f165009568bc75e4595e37c7fbd2ff8c3 (patch) | |
| tree | 1c72b1faf35427e712ed5366f1d8c806e82b0d00 /protoParse.go | |
| parent | 261d54485cc208a5157eef23c267c5e959fcd054 (diff) | |
autogen pb gui table fixesv0.0.56
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 } |
