feat: 🏡 make apps
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package opt
|
||||
|
||||
import "regexp"
|
||||
|
||||
type config struct {
|
||||
Debug bool
|
||||
Make struct {
|
||||
@@ -11,3 +13,8 @@ type config struct {
|
||||
var (
|
||||
Cfg = &config{}
|
||||
)
|
||||
|
||||
var (
|
||||
StorageSizeReg = regexp.MustCompile(`^\d+(\.\d+)?[EPTGMK]i?$`)
|
||||
EmailReg = regexp.MustCompile(`^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$`)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user