diff options
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() } |
