builder

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File interface {
	Exists(fileName string) (bool, error)
}

type FileName

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

func NewFileName

func NewFileName(file File, migrationsDirectory string) *FileName

func (*FileName) Down

func (s *FileName) Down(version string, forceSafely bool) (fname string, safely bool)

Down builds a file name for migration downgrade.

func (*FileName) Up

func (s *FileName) Up(version string, forceSafely bool) (fname string, safely bool)

Up builds a file name for migration update.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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