sqlite_base

package module
v0.0.0-...-00cde68 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyMigrations

func ApplyMigrations(db *sqlx.DB, migrationDir string) error

func ApplyMigrationsFS

func ApplyMigrationsFS(db *sqlx.DB, migrationFS fs.FS, migrationDir string) error

func Open

func Open(config Config) (*sqlx.DB, error)

Types

type Config

type Config struct {
	Path         string
	MigrationDir string
	MigrationFS  fs.FS
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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