migrator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigKey migrateKey = "config"

Variables

This section is empty.

Functions

func PostgresResetFromPath

func PostgresResetFromPath(ctx context.Context, db *sql.DB, path string, log goose.Logger) error

func PostgresUpFromPath

func PostgresUpFromPath(ctx context.Context, db *sql.DB, path string, log goose.Logger) error

Types

type GooseLogger

type GooseLogger struct {
	// contains filtered or unexported fields
}

func NewGooseLogger

func NewGooseLogger(logger *slog.Logger) *GooseLogger

func (*GooseLogger) Fatalf

func (l *GooseLogger) Fatalf(format string, v ...interface{})

func (*GooseLogger) Printf

func (l *GooseLogger) Printf(format string, v ...interface{})

Jump to

Keyboard shortcuts

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