diff options
| author | Jeff Carr <[email protected]> | 2025-10-03 02:47:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-03 02:47:40 -0500 |
| commit | bdb6a5570525ae59f21a277f50e5a2dcd86e9dd0 (patch) | |
| tree | 2bd12a44fef47b712ce6be9ba529dea612b0905f /structs.go | |
| parent | d0a5983ade20fed877c2803b73528c28dac77fa6 (diff) | |
moving stuff here from what was bash before
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,7 @@ package main import ( + "os" "sync" "go.wit.com/lib/gui/prep" @@ -20,6 +21,7 @@ type mainType struct { auto *prep.Auto // more experiments for bash handling forge *forgepb.Forge // your customized repo preferences and settings machine *zoopb.Machine // your customized repo preferences and settings + homedir string // where the user homedir is } // move these to mainType @@ -49,5 +51,6 @@ func initMain() { state = make(map[*gitpb.Repo]string) debnames = make(map[*gitpb.Repo]string) + me.homedir, _ = os.UserHomeDir() dumpDebug() } |
