summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-05 00:07:13 -0600
committerJeff Carr <[email protected]>2024-01-05 00:07:13 -0600
commitff21dba712e5c63ec3dab1defe55c63c98eb3226 (patch)
tree3b76a4e86eaec1613346f59d903fb3d14af08cee /main.go
parent3baa63dadf31c9b30f364e19e3f2c514157bca36 (diff)
convert to gadget.BasicWindow()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.go b/main.go
index 0957d70..232204c 100644
--- a/main.go
+++ b/main.go
@@ -20,8 +20,6 @@ import (
"github.com/miekg/dns"
)
-var myGui *gui.Node
-
//go:embed plugins/*.so
var resToolkit embed.FS
@@ -41,14 +39,14 @@ func main() {
// send all log() output to a file in /tmp
log.SetTmp()
- myGui = gui.New().Default()
+ me.myGui = gui.New().Default()
log.Sleep(me.artificialSleep)
setupControlPanelWindow()
if debugger.ArgDebug() {
log.Sleep(2)
- debugger.DebugWindow(myGui)
+ debugger.DebugWindow(me.myGui)
}
// forever monitor for network and dns changes