From 95b019ad2215c1192e3fd05608427e38ddadf092 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 18 Jan 2024 04:08:32 -0600 Subject: paths Signed-off-by: Jeff Carr --- stdin.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'stdin.go') diff --git a/stdin.go b/stdin.go index 9b9f794..5695546 100644 --- a/stdin.go +++ b/stdin.go @@ -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) -- cgit v1.2.3