423 Star 2K Fork 720

进击的皇虫/DocHub

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
RelateModel.go 392 Bytes
一键复制 编辑 原始数据 按行查看 历史
TruthHun 提交于 2018-08-09 22:49 +08:00 . model层代码优化
package models
//相关文档记录存储表
type Relate struct {
Id int `orm:"column(Id)"` //文档的ID
Ids string `orm:"column(Ids);size(512)"` //相关文档的ID字符串
TimeCreate int `orm:"column(TimeCreate)"` //记录的创建时间
}
func NewRelate() *Relate {
return &Relate{}
}
func GetTableRelate() string {
return getTable("relate")
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/truthhun/DocHub.git
git@gitee.com:truthhun/DocHub.git
truthhun
DocHub
DocHub
01033d1926ec

搜索帮助