package global import ( "github.com/flipped-aurora/gin-vue-admin/server/utils/timer" "github.com/silenceper/wechat/v2/officialaccount" "github.com/songzhibin97/gkit/cache/local_cache" "golang.org/x/sync/singleflight" "go.uber.org/zap" "github.com/flipped-aurora/gin-vue-admin/server/config" "github.com/go-redis/redis/v8" "github.com/spf13/viper" "gorm.io/gorm" ) var ( GVA_DB *gorm.DB GVA_REDIS *redis.Client GVA_WECHAT *officialaccount.OfficialAccount GVA_CONFIG config.Server GVA_VP *viper.Viper //GVA_LOG *oplogging.Logger GVA_LOG *zap.Logger GVA_Timer timer.Timer = timer.NewTimerTask() GVA_Concurrency_Control = &singleflight.Group{} BlackCache local_cache.Cache )