diff options
| author | Jeff Carr <[email protected]> | 2024-02-09 10:26:42 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-09 10:26:42 -0600 |
| commit | ec829f6e2be515b717d0ebd20b56623e44aff810 (patch) | |
| tree | 77551f22d4ffcdbdc54d10ee94e1c1230eec5693 /structs.go | |
| parent | 12829e6e1c193bf7e98d9b13129d16c862995491 (diff) | |
binary tree is global
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,10 @@ import ( "go.wit.com/widget" ) +// this is the root node of the binary tree +// There is only one of these per application +var treeRoot *Node + type TreeInfo struct { PluginName string @@ -20,7 +24,6 @@ type TreeInfo struct { // this is the channel we get requests to make widgets pluginChan chan widget.Action - treeRoot *Node // NodeI interface{} // ActionFromChannel func(widget.Action) |
