diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 15:03:44 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 15:03:44 -0500 |
| commit | 127f36ca1f82ca9c1945e08802a49e4f9e30d2b7 (patch) | |
| tree | 9711d08e3b5d653e95205b0f0a5c431de51bc630 /structs.go | |
| parent | b05b706d8b48a51275a8dc0c90cd8fafc74d61d1 (diff) | |
refactor to store info
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -2,7 +2,6 @@ package main import ( "go.wit.com/dev/alexflint/arg" - "go.wit.com/lib/gadgets" "go.wit.com/lib/gui/prep" "go.wit.com/lib/protobuf/gitpb" ) @@ -11,12 +10,10 @@ var me *mainType // this app's variables type mainType struct { - pp *arg.Parser // for parsing the command line args. Yay to alexf lint! - goSrc string // path to ~/go/src or go.work file - goPath string // the goPath to use for the package - hasWork bool // true if using go.work file - repo *gitpb.Repo // this is the repo we are in - myGui *prep.GuiPrep // the gui toolkit handle - cBox *controlBox // the GUI box in the main window - basicWindow *gadgets.BasicWindow // this is a basic window. the user can open and close it + pp *arg.Parser // for parsing the command line args. Yay to alexf lint! + goSrc string // path to ~/go/src or go.work file + goPath string // the goPath to use for the package + hasWork bool // true if using go.work file + repo *gitpb.Repo // this is the repo we are in + myGui *prep.GuiPrep // the gui toolkit handle } |
