package
Version:
v0.0.0-...-9861b92
Opens a new window with list of versions in this module.
Published: Apr 9, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package userstatus provides access to the user_status table in the MySQL database.
type Connection interface {
Exec(query string, args ...interface{}) (sql.Result, error)
Get(dest interface{}, query string, args ...interface{}) error
Select(dest interface{}, query string, args ...interface{}) error
}
Connection is an interface for making queries.
type Item struct {
ID uint8 `db:"id"`
Status string `db:"status"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
DeletedAt time.Time `db:"deleted_at"`
}
Item defines the model
Source Files
¶
Click to show internal directories.
Click to hide internal directories.