package repositories import ( "context" "database/sql" sq "github.com/Masterminds/squirrel" ) var placeholder = sq.Question type DB interface { SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) QueryRowContext(ctx context.Context, query string, args ...any) *sql.Row }