cmd

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(migration dto.Migration) error

Append allows for adding migrations to the migration registry list.

func Clear added in v1.0.3

func Clear() []dto.Migration

Clear restarts the application with all the command flags, configurations, and migration registory reset. This is primarily useful for testing.

func Close added in v1.0.3

func Close() error

Close terminates the database connection.

func Execute

func Execute() error

Execute runs the main application loop.

func ExecuteWithArgs added in v1.0.2

func ExecuteWithArgs(args ...string) (string, error)

ExecuteWithArgs runs the main application loop with provided arguments.

func SetConfigs

func SetConfigs(rbytes []byte) error

SetConfigs allows for passing database connection configurations with custom environment names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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