修复 多处基础错误 现在可以直接使用gf run .\main.go 运行程序

This commit is contained in:
联盟少侠
2025-07-09 13:16:46 +08:00
parent 6fcfa61dff
commit d79138d278
48 changed files with 1368 additions and 934 deletions

View File

@@ -0,0 +1,21 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysAddonsInstall is the golang structure of table hg_sys_addons_install for DAO operations like Where/Data.
type SysAddonsInstall struct {
g.Meta `orm:"table:hg_sys_addons_install, do:true"`
Id interface{} // 主键
Name interface{} // 插件名称
Version interface{} // 版本号
Status interface{} // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -0,0 +1,19 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysAddonsInstall is the golang structure for table sys_addons_install.
type SysAddonsInstall struct {
Id int64 `json:"id" orm:"id" description:"主键"`
Name string `json:"name" orm:"name" description:"插件名称"`
Version string `json:"version" orm:"version" description:"版本号"`
Status int `json:"status" orm:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
}