Versions in this module Expand all Collapse all v0 v0.0.1 Dec 13, 2023 Changes in this version + type Database struct + func NewDatabase(ctx context.Context, handler metrics.Handler, skipMigrations bool, ...) (db *Database, err error) + func (db *Database) DeleteQuote(c context.Context, id uint) error + func (db *Database) GetQuote(c context.Context, id uint) (q models.Quote, err error) + func (db *Database) GetQuotes(c context.Context, req *models.Request) (qs []models.Quote, err error) + func (db *Database) InsertQuote(c context.Context, q *models.Quote) (id uint, err error) + func (db *Database) UpdateQuote(c context.Context, q *models.Quote) error