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.