sad

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: MIT Imports: 5 Imported by: 0

README

sad

Custom package for working with SQLite databases in my applications

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenDBConnection

func OpenDBConnection(opts DBConnectionOptions, migrations []Migration) (*sqlx.DB, error)

Types

type DBConnectionOptions

type DBConnectionOptions struct {
	Reset             bool
	EnableForeignKeys bool
	DatabasePath      string
}

type Migration

type Migration struct {
	Version int
	Name    string
	SQL     string
}

Jump to

Keyboard shortcuts

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