summaryrefslogtreecommitdiff
path: root/sortNew.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-11 01:30:08 -0600
committerJeff Carr <[email protected]>2025-01-11 01:30:08 -0600
commit3f2909aa0d95acc5b00642d082013afd40108a30 (patch)
tree3523b16a412fc949b5bcf8d601ce495058368afb /sortNew.go
parent51a326c5d75ac1635de92bf2636f5050326b459e (diff)
trying to get Mutex back to a working state
Diffstat (limited to 'sortNew.go')
-rw-r--r--sortNew.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sortNew.go b/sortNew.go
index b23f1aa..1de2e82 100644
--- a/sortNew.go
+++ b/sortNew.go
@@ -11,6 +11,7 @@ func (msg *MsgName) getLockname(s string) string {
if argv.Mutex {
// use the mutex lock from the modified protoc.pb.go file
return s + ".Lock"
+ // return s // causes Marshal() to panic? always use the variable name 'Lock'?
}
// a single global lock by struct name
return msg.Lockname