init
This commit is contained in:
19
global/var.go
Normal file
19
global/var.go
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user