cmd_app

package
v0.0.0-...-58fd0e2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitApp

type InitApp struct {
}

func InitCmd

func InitCmd() (*InitApp, func(), error)

func NewInitApp

func NewInitApp() *InitApp

func (*InitApp) Config

func (a *InitApp) Config()

func (*InitApp) Run

func (a *InitApp) Run()

type MigrateApp

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

func MigrateCmd

func MigrateCmd() (*MigrateApp, func(), error)

func NewMigrateApp

func NewMigrateApp(
	app *system.AppContext,
	conf *koanf.Koanf,
	log *zap.SugaredLogger,
) *MigrateApp

func (*MigrateApp) Down

func (a *MigrateApp) Down(downAll bool)

func (*MigrateApp) Run

func (a *MigrateApp) Run(migrateName string)

func (*MigrateApp) Up

func (a *MigrateApp) Up(upAll bool)

Jump to

Keyboard shortcuts

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