Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id uint `orm:"id,primary" json:"id"` // 用户ID Passport string `orm:"passport" json:"passport"` // 用户账号 Password string `orm:"password" json:"password"` // 用户密码 Nickname string `orm:"nickname" json:"nickname"` // 用户昵称 CreateAt *gtime.Time `orm:"create_at" json:"createAt"` // 创建时间 UpdateAt *gtime.Time `orm:"update_at" json:"updateAt"` // 更新时间 }
User is the golang structure for table user.
Click to show internal directories.
Click to hide internal directories.