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.

19 lines
305 B

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