[agent-go] 开始使用GO重构Agent部分
This commit is contained in:
11
server-go/entity/global.go
Normal file
11
server-go/entity/global.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type GloablConfig struct {
|
||||
DB *gorm.DB
|
||||
}
|
||||
|
||||
var CONGIG = new(GloablConfig)
|
||||
Reference in New Issue
Block a user