Documentation ¶
Index ¶
Constants ¶
View Source
const ( QueryCreateUser = `INSERT INTO users (id, name, password, created_at, updated_at) VALUES (:id, :name, :password, :created_at, :updated_at)` QueryDetailUser = `SELECT id, name, password, created_at, updated_at FROM users WHERE id = ?;` )
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶
func NewRepository(db *sqlx.DB) users.Repositories
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.