Categorygithub.com/relvinhas/gorm-sqlcipher
modulepackage
0.0.0-20231207154239-5a10e521e9e6
Repository: https://github.com/relvinhas/gorm-sqlcipher.git
Documentation: pkg.go.dev

# README

GORM SQLite/SQLCipher Driver

CI

USAGE

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

// github.com/mattn/go-sqlite3
db, err := gorm.Open(sqlcipher.Open("gorm.db?_pragma_key=secret&_pragma_cipher_page_size=4096"), &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{})

# Functions

No description provided by the author

# Constants

DriverName is the default driver name for SQLite.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author