repository

package
v0.0.0-...-9c49bb0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL