summaryrefslogtreecommitdiff
path: root/structs.go
blob: 2f47bd5087629eae99f3a3522b54c4fddfe2d511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}