summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-04-11 21:01:18 -0500
committerJeff Carr <[email protected]>2025-04-11 21:01:18 -0500
commit16558e1b72762e47ca9664c74922e060d571cea4 (patch)
treeceab312d2b1290e8691fafd755510b1bf32aef4f /structs.go
parent1fd6b1d36d099a3301b62293d004e26bea83a070 (diff)
autocomplete + doList()
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index c7010f9..84349b4 100644
--- a/structs.go
+++ b/structs.go
@@ -4,12 +4,13 @@ import (
"net/url"
"time"
+ "go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
"go.wit.com/lib/protobuf/virtpb"
)
-var me virtigoT
+var me *virtigoT
// disable the GUI
func (b *virtigoT) Disable() {
@@ -23,6 +24,7 @@ func (b *virtigoT) Enable() {
// this app's variables
type virtigoT struct {
+ pp *arg.Parser // go-arg parser
cluster *virtpb.OldCluster // basic cluster settings
myGui *gui.Node // the gui toolkit handle
e *virtpb.Events // virt protobuf events