This is a fork of github.com/go-gorm/sqlite
That works with modernc.org/sqlite which is a pure-go sqlite
implementation. Obviously, because modernc.org/sqlite
is a re-implementation of sqlite
there might be missing features and stability issues. It should work for development or simple use-cases.
import (
sqlite "github.com/spid37/gorm-sqlite"
"gorm.io/gorm"
)
// gitlab.com/modernc.org/sqlite
db, err := gorm.Open(sqlite.Open("gorm.db"), &gorm.Config{})
Checkout https://gorm.io for details.