diff options
| author | Jeff Carr <[email protected]> | 2025-01-10 23:55:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-10 23:55:12 -0600 |
| commit | 51a326c5d75ac1635de92bf2636f5050326b459e (patch) | |
| tree | 23ff99a7f6601e50f24733935669c287afd45ea7 /sortNew.go | |
| parent | f3297022a8ed73db93842311d4b1429e8f69e8c7 (diff) | |
still testing
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)") |
