package main import ( "sync" "go.wit.com/dev/alexflint/arg" "go.wit.com/lib/config" "go.wit.com/lib/fhelp" "go.wit.com/lib/protobuf/argvpb" "go.wit.com/lib/protobuf/forgepb" "go.wit.com/lib/protobuf/zoopb" ) var me *mainType // this app's variables type mainType struct { once sync.Once // one-time initialized data argv *argvpb.Argv // more experiments for bash handling pp *arg.Parser // for parsing the command line args. Yay to alexf lint! myGui *fhelp.GuiPrep // for initializing the GUI toolkits forge *forgepb.Forge // your customized repo preferences and settings pb *zoopb.Packages // the mirrors packages config *config.Config // the mirrors packages }