diff options
| author | Jeff Carr <[email protected]> | 2025-02-14 18:25:28 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-14 18:25:28 -0600 |
| commit | dcd32c255c4c4a7b31ebc2395a541704a753a092 (patch) | |
| tree | 025e9fd827b876b699b6d94cdeb01b9c25b97ad5 /structs.go | |
| parent | f223a21545edeabab24fe87c1a916c150b55ab80 (diff) | |
changes for new 'tree' packagev0.0.27v0.0.26v0.0.25v0.0.24v0.0.23v0.0.22v0.0.21v0.0.20v0.0.19v0.0.18
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ package main import ( + "sync" + "go.wit.com/toolkits/tree" ) @@ -13,8 +15,8 @@ type guiWidget struct { val map[string]int } -// It's probably a terrible idea to call this 'me' -var me config +var initOnce sync.Once // run initPlugin() only once +var me config // It's probably a terrible idea to call this 'me' type config struct { treeRoot *tree.Node // the base of the binary tree. it should have id == 0 |
