webcron里对每个表的操作都会预先定义一个struct,比如
type User struct {
Id int
UserName string
Password string
Salt string
Email string
LastLogin int64
LastIp string
Status int
}
这应该是对表的一种映射吧,有知道的大神请告诉我
想想beego跟Django有点不同的地方
原文:https://blog.51cto.com/chyou/2386719