summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index da20513..81ea423 100644
--- a/structs.go
+++ b/structs.go
@@ -6,6 +6,9 @@ package main
import (
"context"
+ "go.wit.com/dev/alexflint/arg"
+ "go.wit.com/gui"
+ "go.wit.com/lib/fhelp"
"go.wit.com/lib/gadgets"
"go.wit.com/lib/protobuf/argvpb"
"go.wit.com/lib/protobuf/chatpb"
@@ -17,10 +20,12 @@ var me *mainType
// this app's variables
type mainType struct {
argv *argvpb.Argv // shell autocomplete
+ pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
+ myGui *fhelp.GuiPrep // the gui handle itself
+ gui *gui.Node // the gui handle itself
chats *chatpb.Chats // all our prior conversations with regex
client *genai.Client // the Google Gemini AI client variable
ctx context.Context // global context. what does this acutally mean?
lastChat *chatpb.Chat // the last chat. append to here
- myGui *argvpb.GuiPrep // the gui toolkit handle
mainWindow *gadgets.GenericWindow // the main GUI window
}