package db

import (
	"context"
	"database/sql"
)

// Open returns a connected DB instance. Caller should close.
func Open(ctx context.Context, dsn string) (*sql.DB, error) {
	db, err := sql.Open("sqlite", dsn)
	if err != nil {
		return nil, err
	}
	return db, nil
}
