diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 03:59:14 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-16 03:59:14 -0500 |
| commit | 6a62be781be462c769bb1f61198ea584284e6bed (patch) | |
| tree | 73809b1b12924f3247fdc4ab6fc1809a9068c4c5 /structs.go | |
| parent | 5d2788edbc203fdb3b99d073e507962cb0f0e6ac (diff) | |
rename that stupid variable finallyv0.0.37
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -19,7 +19,7 @@ type ArgsBash struct { } // try this struct out (?) -var myAuto *AutoArgs +var me *AutoArgs // this is a work in progress type AutoArgs struct { @@ -33,6 +33,7 @@ type AutoArgs struct { autoFunc func(*Auto) // also a function for autocomplete guiFunc func() error // enables Gui functions err error // store any errors from argv + pb *Auto ARGNAME string // a good way to track the name of the binary ? VERSION string @@ -55,5 +56,5 @@ func GetLast(cur string, argv []string) string { // returns the name of the executable registered for shell autocomplete func AppName() string { - return myAuto.ARGNAME + return me.ARGNAME } |
