summaryrefslogtreecommitdiff
path: root/structs.go
blob: 2a9dec363ca3f2b1d89e5a97464ada1301a51ce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package main

import (
	"sync"

	"go.wit.com/dev/alexflint/arg"
	"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
}