migrate

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module(fsys fs.FS) app.Module

Module applies the goose migrations in fsys, before anything queries.

Types

type Config

type Config struct {
	LockRetryInterval time.Duration `config:"lock_retry_interval" validate:"min=1s"`
	LockRetries       uint64        `config:"lock_retries"        validate:"min=1"`
}

Jump to

Keyboard shortcuts

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