summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 00:46:06 -0600
committerJeff Carr <[email protected]>2024-12-01 00:46:06 -0600
commit3261af8db398bfe9a224c3a5f5448981709258d1 (patch)
treecd2ceb5a08e2dbcecf423fa365b7504226b0c70c /main.go
parent9a34961d3de3df092ab05d91150486166fe9a70a (diff)
sort using mutex from protobuf structv0.0.6
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index de1b12d..d9c32e2 100644
--- a/main.go
+++ b/main.go
@@ -114,6 +114,7 @@ func main() {
if err := addMutex(sortmap); err == nil {
log.Info("adding mutex to existing protoc-gen-go file worked")
sortmap["mutex"] = "true"
+ sortmap["lock"] = "all"
} else {
log.Info("adding mutex to existing protoc-gen-go file did not work")
sortmap["mutex"] = "false"