This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
schisandra-cloud-album/global/global.go
2024-08-03 22:09:19 +08:00

15 lines
207 B
Go

package global
import (
"github.com/sirupsen/logrus"
"gorm.io/gorm"
"schisandra-cloud-album/config"
)
// Config 全局配置文件
var (
CONFIG *config.Config
DB *gorm.DB
LOG *logrus.Logger
)