feat: echo password while start every time

This commit is contained in:
Xhofe
2022-03-12 00:24:55 +08:00
parent 19d0a88b55
commit b1d7a980d9
4 changed files with 13 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package conf
import (
"context"
"github.com/eko/gocache/v2/cache"
"github.com/fatih/color"
"github.com/robfig/cron/v3"
"gorm.io/gorm"
"strconv"
@ -28,6 +29,8 @@ var (
Cache *cache.Cache
Ctx = context.TODO()
Cron *cron.Cron
C = color.New(color.FgHiBlue, color.Bold, color.BgHiWhite, color.Underline)
)
var (