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.

23 lines
381 B

  1. package global
  2. import (
  3. "gin-vue-admin/utils/timer"
  4. "go.uber.org/zap"
  5. "gin-vue-admin/config"
  6. "github.com/go-redis/redis"
  7. "github.com/spf13/viper"
  8. "gorm.io/gorm"
  9. )
  10. var (
  11. GVA_DB *gorm.DB
  12. GVA_REDIS *redis.Client
  13. GVA_CONFIG config.Server
  14. GVA_VP *viper.Viper
  15. //GVA_LOG *oplogging.Logger
  16. GVA_LOG *zap.Logger
  17. GVA_Timer timer.Timer = timer.NewTimerTask()
  18. )