package
module
Version:
v0.14.0
Opens a new window with list of versions in this module.
Published: Apr 16, 2024
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
¶
GORM SQLite Driver
Usage
import (
_ "github.com/ncruces/go-sqlite3/embed"
"github.com/ncruces/go-sqlite3/gormlite"
"gorm.io/gorm"
)
db, err := gorm.Open(gormlite.Open("gorm.db"), &gorm.Config{})
Checkout https://gorm.io for details.
Documentation
¶
Package gormlite provides a GORM driver for SQLite.
Open opens a GORM dialector from a data source name.
Open opens a GORM dialector from a database handle.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.