gomigration

package
v0.0.0-...-970f38b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	DSN    string
	Action string
}

Args for execution of go migrations

func (Args) Strings

func (a Args) Strings() []string

Strings returns representation in slice of strings

type Dir

type Dir struct {
	Path string
}

Dir of migration for execution

func (Dir) Run

func (d Dir) Run(a Args) (output string, err error)

Run Dir

func (Dir) Validate

func (d Dir) Validate() error

Validate Dir

Jump to

Keyboard shortcuts

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