diff options
| author | Jeff Carr <[email protected]> | 2024-01-18 04:08:32 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-18 04:08:32 -0600 |
| commit | 95b019ad2215c1192e3fd05608427e38ddadf092 (patch) | |
| tree | 948f48e89d51d3da31c3d76577954881050164dc /stdin.go | |
| parent | 66f87e34481df249b238d2b1490b6a0c1a3402e0 (diff) | |
pathsv0.0.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'stdin.go')
| -rw-r--r-- | stdin.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,15 +1,15 @@ package main import ( - "os" - "fmt" "bufio" + "fmt" + "os" "runtime/debug" - "strings" "strconv" + "strings" "go.wit.com/log" - "go.wit.com/lib/widget" + "go.wit.com/widget" ) func simpleStdin() { @@ -51,7 +51,7 @@ func simpleStdin() { i, _ := strconv.Atoi(s) log.Log(NOW, "got input:", i) n := me.treeRoot.FindWidgetId(i) - if (n != nil) { + if n != nil { n.DumpWidget("found node") for i, s := range n.State.Strings { log.Warn("n.State.Strings =", i, s) |
