summaryrefslogtreecommitdiff
path: root/sortFunc.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 /sortFunc.go
parent51a326c5d75ac1635de92bf2636f5050326b459e (diff)
trying to get Mutex back to a working state
Diffstat (limited to 'sortFunc.go')
-rw-r--r--sortFunc.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/sortFunc.go b/sortFunc.go
index 2a5af91..e12db51 100644
--- a/sortFunc.go
+++ b/sortFunc.go
@@ -5,15 +5,6 @@ import (
"io"
)
-func (pf *File) syncLock(w io.Writer) {
- var LOCK string = pf.Bases.Lockname
-
- fmt.Fprintln(w, "// bad global lock until modifying the .pb.go file is tested")
- fmt.Fprintln(w, "// sync.RWMutex or sync.Mutex?")
- fmt.Fprintln(w, "var "+LOCK+" sync.RWMutex")
- fmt.Fprintln(w, "")
-}
-
func (msg *MsgName) iterTop(w io.Writer) {
var BASE string = msg.Name