summaryrefslogtreecommitdiff
path: root/stdin.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-18 04:08:32 -0600
committerJeff Carr <[email protected]>2024-01-18 04:08:32 -0600
commit95b019ad2215c1192e3fd05608427e38ddadf092 (patch)
tree948f48e89d51d3da31c3d76577954881050164dc /stdin.go
parent66f87e34481df249b238d2b1490b6a0c1a3402e0 (diff)
pathsv0.0.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'stdin.go')
-rw-r--r--stdin.go10
1 files changed, 5 insertions, 5 deletions
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)