Versions in this module Expand all Collapse all v1 v1.0.0 Mar 10, 2024 Changes in this version + var ErrNoMatch = errors.New("not found") + func SanityQuery(query string) (cleanQuery string) + type Database struct + Conn *sqlx.DB + LoggerEntry logging.Logger + Table *Table + func Initialize(ctx context.Context, logger logging.Logger, cfg *config.Config) (db Database, err error) + func (db *Database) Shutdown(ctx context.Context, logger logging.Logger) + type Query struct + Create *sqlx.NamedStmt + GetOne *sqlx.NamedStmt + type Table struct + Name string + Query *Query