stdlib

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package stdlib registers modernc.org/sqlite — a pure-Go SQLite — under the conventional "sqlite3" database/sql driver name used by generated apps.

Keeping this adapter in the GoFastr module means applications that import GoFastr do not need a transitive replace directive for mattn/go-sqlite3. They can therefore build on Windows with CGO_ENABLED=0.

The driver is wrapped to restore the two mattn/go-sqlite3 defaults the framework was written against: the time bind layout and busy_timeout. See compat.go — both are silent when wrong, and one is an auth outage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLiteDriver

type SQLiteDriver = modernsqlite.Driver

SQLiteDriver preserves the small public wrapper surface used by fault injection tests and downstream code that constructs the traditional driver.

Note this is modernc's raw driver: a caller registering it directly gets modernc's default time bind format, not the canonical layout this package installs on the "sqlite3" name.

Jump to

Keyboard shortcuts

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