sqlite

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 9 Imported by: 0

README

Sqlite Data source

Usage
go get github.com/SharkFourSix/dsync/sources/sqlite
import "github.com/SharkFourSix/dsync/sources/sqlite"

dsn := "file:test.db?cache=shared&mode=rw"

pgds, err := postgresql.New(dsn, &dsync.Config{ ... })
if err != nill {
    panic(err)
}

migrator.Migrate(pgds)
SQL Driver

https://github.com/mattn/go-sqlite3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dsn string, cfg *dsync.Config) (dsync.DataSource, error)

func Wrap added in v1.3.1

func Wrap(db *sql.DB, cfg *dsync.Config) (dsync.DataSource, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL