This commit is contained in:
2024-12-23 18:34:46 +08:00
commit cbfcc91eec
24 changed files with 1702 additions and 0 deletions

19
global/var.go Normal file
View File

@@ -0,0 +1,19 @@
package global
import (
"DT/config"
"gorm.io/gorm"
)
var (
// AppConf 配置信息
AppConf *config.Config
// Db 数据库
Db *gorm.DB
//InFluxDb influxdb2.Client
Log *Logger
//Cron *cron.Cron
)