Documentation ¶ Index ¶ type User func (u *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 `sql:"id,primary"` Name string `sql:"name"` Email *string `sql:"email"` Password string `sql:"password"` Age int `sql:"age"` DeletedAt *string `sql:"deleted_at"` } func (*User) TableName ¶ func (u *User) TableName() string Source Files ¶ View all Source files user.go Click to show internal directories. Click to hide internal directories.