Documentation ¶ Index ¶ func Open(ctx context.Context, dbPath string) (*sql.DB, sqlitec.Querier, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Open ¶ func Open(ctx context.Context, dbPath string) (*sql.DB, sqlitec.Querier, error) Open opens a connection to the SQLite database and returns a querier. It automatically applies any pending migrations. The caller is responsible for closing the returned *sql.DB. Types ¶ This section is empty. Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.