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

import (
	"sync"

	"go.wit.com/lib/config"
	"go.wit.com/lib/protobuf/argvpb"
	"go.wit.com/lib/protobuf/zoopb"
)

var me *mainType

// this app's variables
type mainType struct {
	once   sync.Once       // one-time initialized data
	sh     *argvpb.Argv    // shell autocomplete
	pb     *zoopb.Packages // the mirrors packages
	config *config.Config  // the mirrors packages
}