mirror of
https://github.com/ZSCNetSupportDept/scheduler.git
synced 2025-10-29 04:55:04 +08:00
add 数据库 Web框架 初步 支持
This commit is contained in:
7
database/model.go
Normal file
7
database/model.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
var Main *gorm.DB //Main database connection
|
||||
Reference in New Issue
Block a user