summaryrefslogtreecommitdiff
path: root/protoParse.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-09 12:54:04 -0600
committerJeff Carr <[email protected]>2025-01-09 12:54:04 -0600
commite79ba634661baba562fa0ab9245040bd37c29f4c (patch)
treea0f0908d87ff9197ebc87dd6a715e002b2a0785c /protoParse.go
parentc99d8763e6c85513c700d58cd1e2163c31d2187d (diff)
rename dir
Diffstat (limited to 'protoParse.go')
-rw-r--r--protoParse.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/protoParse.go b/protoParse.go
index 8c36e57..31e2f6d 100644
--- a/protoParse.go
+++ b/protoParse.go
@@ -120,16 +120,6 @@ func (pb *Files) protoParse(f *File) error {
// don't sort anything (don't make foo.sort.pb.go)
argv.NoSort = true
}
- if strings.Contains(line, "autogenpb:mutex") {
- // try the mutex hack
- argv.Mutex = true
- }
- if strings.Contains(line, "autogenpb:gover:") {
- // todo: parse the output here
- parts := strings.Split(line, "autogenpb:gover:")
- log.Info("found gover:", parts[1])
- argv.Mutex = true
- }
}
return nil
}