goweb/global/global.go

16 lines
224 B
Go
Raw Normal View History

package global
import (
"github.com/casbin/casbin/v2"
"go.uber.org/zap"
"gorm.io/gorm"
)
var (
MySQLConn *gorm.DB
RedisConn RedisClient
AliSmsBot aliSmsBot
Enforcer *casbin.Enforcer
Log *zap.SugaredLogger
)