summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-18 04:08:11 -0600
committerJeff Carr <[email protected]>2024-01-18 04:08:11 -0600
commita78eadea024c2b283b45f1711aeda39d60deab22 (patch)
tree9bc410a7fa97ffa03fcb918efe8b477f864c2865 /plugin.go
parent3ea3dd10db0e728240fc659bdd33c622d33e46b4 (diff)
pathsv0.0.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin.go b/plugin.go
index e8c61da..cfa1fb4 100644
--- a/plugin.go
+++ b/plugin.go
@@ -12,12 +12,12 @@ package tree
*/
import (
- "go.wit.com/lib/widget"
+ "go.wit.com/widget"
)
// searches the binary tree for a WidgetId
func (n *Node) FindWidgetId(id int) *Node {
- if (n == nil) {
+ if n == nil {
return nil
}
@@ -27,7 +27,7 @@ func (n *Node) FindWidgetId(id int) *Node {
for _, child := range n.children {
newN := child.FindWidgetId(id)
- if (newN != nil) {
+ if newN != nil {
return newN
}
}