internal

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DB     *sql.DB
	Config *config
)

Functions

func Load added in v1.1.0

func Load()

func Migrations

func Migrations(db *sql.DB, migrationsPath string)

Helper function to run migration files. Its pretty simple and the migration will always run from the beginning. The migrations must be placed in "./migrations" and have the file extension ".sql".

Types

This section is empty.

Jump to

Keyboard shortcuts

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