Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = sqlx.ErrNotFound
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id string `db:"id"` Avatar string `db:"avatar"` Nickname string `db:"nickname"` Phone string `db:"phone"` Password sql.NullString `db:"password"` Status sql.NullInt64 `db:"status"` Sex sql.NullInt64 `db:"sex"` CreatedAt sql.NullTime `db:"created_at"` UpdatedAt sql.NullTime `db:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.