migrations

package
v0.0.0-...-04ea6ed Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Down

func Down(log *zap.Logger) (err error)

func Migrate

func Migrate(log *zap.Logger, to uint) (err error)

func Up

func Up(log *zap.Logger) (err error)

Types

type Logger

type Logger struct {
	*zap.SugaredLogger
}

func (*Logger) Printf

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

Printf implements migrate.Logger.

func (*Logger) Verbose

func (l *Logger) Verbose() bool

Verbose implements migrate.Logger.

Jump to

Keyboard shortcuts

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