diff options
Diffstat (limited to 'sortNew.go')
| -rw-r--r-- | sortNew.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,8 @@ package main import ( "fmt" "io" + + "go.wit.com/log" ) func (msg *MsgName) getLockname(s string) string { @@ -18,6 +20,7 @@ func (msg *MsgName) getLockname(s string) string { func (msg *MsgName) simpleAppend(w io.Writer, FRUIT, APPLES, APPLE string) { LOCK := msg.getLockname("x") + log.Printf("\t\t(x %s) APPEND(%s)\n", FRUIT, APPLE) // append -- no check at all fmt.Fprintln(w, "// TESTING 2") fmt.Fprintln(w, "// just a simple Append() shortcut (but still uses the mutex lock)") |
