diff options
Diffstat (limited to 'plugin.go')
| -rw-r--r-- | plugin.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -16,6 +16,11 @@ import ( ) // searches the binary tree for a WidgetId +func FindWidgetId(id int) *Node { + return treeRoot.FindWidgetId(id) +} + +// searches the binary tree for a WidgetId func (n *Node) FindWidgetId(id int) *Node { if n == nil { return nil |
