migrations

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseFS embed.FS

BaseFS is the embed.FS for the migrations.

Functions

func RunGoose

func RunGoose(ctx context.Context, gooseArgs []string, db *sql.DB) error

RunGoose runs the goose command with the provided arguments. args should be the command and the arguments to pass to goose. eg RunGoose(ctx, []string{"up", "-v"}, db).

Types

This section is empty.

Jump to

Keyboard shortcuts

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