summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-08 20:30:33 -0600
committerJeff Carr <[email protected]>2025-01-08 20:30:33 -0600
commitd850ec82c849d9226a9558e46ad4ad226c91a16e (patch)
treed4f6b55d9cea51221a6bce90b69c85bcff7b9b7c /main.go
parent40bb6caf20e48bbed11455a274d7359673beb5a2 (diff)
found mutex
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 5ed9080..451ffd5 100644
--- a/main.go
+++ b/main.go
@@ -133,7 +133,7 @@ func main() {
// parse sort & marshal options from the .proto file
// this goes through the .proto files and looks
// for `autogenpb: ` lines
- if err := findAutogenpb(sortmap); err != nil {
+ if err := pb.findAutogenpb(f); err != nil {
log.Info("autogenpb parse error:", err)
os.Exit(-1)
}
@@ -148,7 +148,7 @@ func main() {
os.Exit(-1)
}
pb.addMutex(f)
- os.Exit(0)
+ // os.Exit(0)
/*
// experiment to add a mutex to the structs.