Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyUser ¶
type MyUser struct { CreatedAt string `gorm:"column:created_at" ` //是否可空:YES Id int `gorm:"column:id" ` //是否可空:NO 唯一ID UserName string `gorm:"column:user_name" ` //是否可空:NO 用户名 UserPass string `gorm:"column:user_pass" ` //是否可空:YES 密码 UserStatus string `gorm:"column:user_status" ` //是否可空:YES 用户状态|active 活跃 这是一个很长的用户状态 }
my_user表说明 用于测试
Click to show internal directories.
Click to hide internal directories.