Documentation ¶
Index ¶
Constants ¶
View Source
const (
Userid = 11111111
)
Variables ¶
This section is empty.
Functions ¶
func DataTableInit ¶
Types ¶
type User ¶
type User struct { ID int Name string `gorm:"size:50" json:"name"` PasswordHash string `gorm:"size:256" json:"password"` Email string `gorm:"size:50;unique" json:"email"` RealName string `gorm:"size:32" json:"real_name"` IdCard string `gorm:"size:20" json:"id_card"` AvatarUrl string `gorm:"size:256" json:"avatar_url"` Dialogs []Dialog }
Click to show internal directories.
Click to hide internal directories.