summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-01 01:55:06 -0500
committerJeff Carr <[email protected]>2025-09-01 01:55:06 -0500
commitc65619154eb37912be8af563de113e028665633c (patch)
tree6f305a21a6292c18463bc07bb302cf0b26ed08a3 /structs.go
parentc63a746d0baa7880c54a0069b03f1924c3be3f46 (diff)
sub in the functions
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/structs.go b/structs.go
index 16c63e9..f56498d 100644
--- a/structs.go
+++ b/structs.go
@@ -16,9 +16,10 @@ var me *mainType
// this app's variables
type mainType struct {
- pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
- chats *chatpb.Chats // all our prior conversations with regex
- myGui *gui.Node // the gui toolkit handle
- client *genai.Client // the Google Gemini AI client variable
- ctx context.Context
+ pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
+ chats *chatpb.Chats // all our prior conversations with regex
+ myGui *gui.Node // the gui toolkit handle
+ 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
}