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.

17 lines
307 B

  1. package global
  2. import (
  3. "gin-vue-admin/config"
  4. "github.com/go-redis/redis"
  5. "github.com/jinzhu/gorm"
  6. oplogging "github.com/op/go-logging"
  7. "github.com/spf13/viper"
  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. )