diff options
Diffstat (limited to 'generateMutex.go')
| -rw-r--r-- | generateMutex.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generateMutex.go b/generateMutex.go index aaa68a5..45d0d2e 100644 --- a/generateMutex.go +++ b/generateMutex.go @@ -20,6 +20,8 @@ func (pf *File) syncLock(w io.Writer) { fmt.Fprintln(w, "var "+LOCK+" sync.RWMutex") fmt.Fprintln(w, "") /* + // this was a note, but the note is wrong. it seems to work fine. my example/ code was wrong. I think. notsure + fmt.Fprintln(w, "") fmt.Fprintln(w, "// this is needed because it seems Marshal() fails if locks are in the structs (?)") fmt.Fprintln(w, "// this might just be a syntactical runtime error. notsure.") |
