migration

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DialectPostgreSQL = goose.DialectPostgres
	DialectSqlite3    = goose.DialectSQLite3
	DialectClickhouse = goose.DialectClickHouse
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

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

func NewRunner

func NewRunner(
	dialect goose.Dialect,
	migrationDir string,
	logger log.Logger,
) Runner

func (Runner) Run

func (r Runner) Run(ctx context.Context, db *sql.DB, gooseOpts ...goose.ProviderOption) error

Jump to

Keyboard shortcuts

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