summaryrefslogtreecommitdiff
path: root/sortNew.go
diff options
context:
space:
mode:
Diffstat (limited to 'sortNew.go')
-rw-r--r--sortNew.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/sortNew.go b/sortNew.go
index 9f6a829..b23f1aa 100644
--- a/sortNew.go
+++ b/sortNew.go
@@ -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)")