搭建好了一个框架,准备实现数据库相关功能

This commit is contained in:
2025-04-28 17:13:46 +08:00
parent b8c2cb52c4
commit 8e352cfe58
5 changed files with 78 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
package handler
import (
"gorm.io/gorm"
"zsxyww.com/scheduler/database"
)
// Unit Operations
type uoPrototype struct {
c *gorm.DB
}
func init() {
uo := uoPrototype{c: db.Main}
_ = uo
}