diff options
| author | Jeff Carr <[email protected]> | 2025-01-10 19:37:32 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-10 19:37:32 -0600 |
| commit | 22651438692cf991be22d8898e5727f586fd2f11 (patch) | |
| tree | b7e4936ca077f315af8d49908d0c14a5a1791411 /protoc.go | |
| parent | dc86ae010f688eefc5f4757d1c6eb620effc68f9 (diff) | |
correctly identify the two primary structs
Diffstat (limited to 'protoc.go')
| -rw-r--r-- | protoc.go | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -86,18 +86,6 @@ func (pb *Files) protocBuild(f *File) error { } } } - /* - start := "type " + names["Bases"] + " struct {" - if strings.HasSuffix(line, start) { - found = true - log.Info("FOUND line:", line) - fmt.Fprintln(w, line) - fmt.Fprintln(w, "\tsync.RWMutex // auto-added by go.wit.com/apps/autogenpb") - fmt.Fprintln(w, "") - } else { - fmt.Fprintln(w, line) - } - */ } cmd = append(cmd, f.Filename) |
