A CGO-free fork of the official GORM SQLite driver, powered by modernc.org/sqlite.
go get github.com/found-cake/gorm-sqliteimport (
"github.com/found-cake/gorm-sqlite"
"gorm.io/gorm"
)
db, err := gorm.Open(sqlite.Open("gorm.db"), &gorm.Config{})The public API stays compatible with the official driver. The default driver name is sqlite, and compatibility DSN defaults for time conversion and a five-second busy timeout are added without overriding explicitly supplied values.
Upstream maintenance is automated by the Sync upstream workflow, implemented by sync-upstream-simple.sh.