package opt import "regexp" type config struct { Debug bool Make struct { DisableDependencyCheck bool Dir string } } var ( Cfg = &config{} ) const ( DefaultWorkdir = "/root/hsv2-installation" ) var ( StorageSizeReg = regexp.MustCompile(`^\d+(\.\d+)?[EPTGMK]i?$`) EmailReg = regexp.MustCompile(`^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$`) )