You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
578 B

package global
import (
"bkb-seller/config"
"bkb-seller/initialize/api"
"bkb-seller/utils/timer"
"google.golang.org/grpc"
"github.com/go-redis/redis"
"github.com/minio/minio-go/v7"
"github.com/spf13/viper"
"go.uber.org/zap"
"gorm.io/gorm"
)
var (
MG_DB *gorm.DB
MG_REDIS *redis.Client
MG_CONFIG config.Server
MG_VP *viper.Viper
MG_LOG *zap.Logger
//PAY_CLIENT api.GreeterClient
PAY_CONN *grpc.ClientConn
MG_MINIO *minio.Client
SMS_CLIENT api.SmsClient
EMAIL_CLIENT api.EmailClient
MG_Timer timer.Timer = timer.NewTimerTask()
)