From 3261af8db398bfe9a224c3a5f5448981709258d1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 00:46:06 -0600 Subject: sort using mutex from protobuf struct --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') 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" -- cgit v1.2.3