libsqldriver

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package libsqldriver implements driver.Driver for libSQL / Turso using the database/sql libsql driver.

The upstream client (github.com/tursodatabase/libsql-client-go) carries a deprecation notice on its repository, while Turso's own Go SDK reference still names it the package for remote Turso Cloud access. It stays here because it is the only pure-Go option: go-libsql needs CGO, and the tursogo packages target the newer engine and have no tagged release. A caller who wants either one supplies it through drel.WithSQLDB, so drel does not take the dependency.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dsn string, pc ...driver.PoolConfig) (*sqldriver.Driver, error)

New opens a libSQL database at the given DSN (e.g. "libsql://name.turso.io?authToken=...").

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL