diff options
| author | Jeff Carr <[email protected]> | 2025-01-11 02:44:21 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-11 02:44:21 -0600 |
| commit | 9349ab95fc91f74f2c242a7e3ccc0b630c3d95f3 (patch) | |
| tree | caaf75c3d0da4392a57e0d32b137435160b67d0e /sortNew.go | |
| parent | 3f2909aa0d95acc5b00642d082013afd40108a30 (diff) | |
small app works, example core dumps on Marshal()
Diffstat (limited to 'sortNew.go')
| -rw-r--r-- | sortNew.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -8,11 +8,11 @@ import ( ) 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'? - } + // 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 } |
