Documentation ¶ Index ¶ type User func (User) TableName() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type User ¶ type User struct { Id int NickName string `json:"nickname" gorm:"column:nickname"` PassWord string `json:"password" gorm:"column:password"` Age uint32 `json:"age"` Sex uint32 `json:"sex"` Email string `json:"email"` } func (User) TableName ¶ func (User) TableName() string Source Files ¶ View all Source files user.go Click to show internal directories. Click to hide internal directories.