gomigrate

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerAdapter

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

LoggerAdapter - адаптер для работы с логами golang-migrate.

func NewLoggerAdapter

func NewLoggerAdapter(l mrlog.Logger) *LoggerAdapter

NewLoggerAdapter - создаёт объект LoggerAdapter.

func (*LoggerAdapter) Printf

func (a *LoggerAdapter) Printf(format string, v ...any)

Printf - выводит лог информацию о миграции БД.

func (*LoggerAdapter) Verbose

func (a *LoggerAdapter) Verbose() bool

Verbose - возвращает можно ли выводить лог миграций БД.

Jump to

Keyboard shortcuts

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