Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 523 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 523 Bytes

GORM sqlcipher driver

USAGE

import (
  "github.com/Shvarpa/gorm-sqlcipher-driver"
  "gorm.io/gorm"
)

// github.com/mattn/go-sqlite3
db, err := gorm.Open(sqlite.Open("gorm.db"), &gorm.Config{})

Checkout https://gorm.io for details.

Pure go Sqlite Driver

checkout https://github.com/glebarez/sqlite for details

import (
  "github.com/glebarez/sqlite"
  "gorm.io/gorm"
)

db, err := gorm.Open(sqlite.Open("gorm.db"), &gorm.Config{})