summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-19 05:15:33 -0500
committerJeff Carr <[email protected]>2025-10-19 05:15:33 -0500
commit5e7f902d5fae4014b8eef8c4945cbc131c6f701e (patch)
tree0e40683c939d51b1e42935e344354cf8a81e89e9 /structs.go
parent51839a8f623c08df11ff5dae022ac318da754193 (diff)
newer but still not right argvv0.0.30
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
}