loader

package
v4.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory func(context.Context, *config.Config) Loader

Factory is a factory method for creating Loader instance

type Loader

type Loader interface {
	GetSourceMigrations() []types.Migration
}

Loader interface abstracts all loading operations performed by migrator

func New

func New(ctx context.Context, config *config.Config) Loader

New returns new instance of Loader, currently DiskLoader is available

Jump to

Keyboard shortcuts

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