Skip to content
forked from go-gorm/sqlite

About

Pure-Go (free CGO) SQLite driver for GORM

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

GORM SQLite Driver for modernc.org/sqlite

CI

A CGO-free fork of the official GORM SQLite driver, powered by modernc.org/sqlite.

Quick start

go get github.com/found-cake/gorm-sqlite
import (
  "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.

Maintenance

Upstream maintenance is automated by the Sync upstream workflow, implemented by sync-upstream-simple.sh.

About

Pure-Go (free CGO) SQLite driver for GORM

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages