fizz

package
v2.0.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Plugins

func Plugins() []plugins.Plugin

Types

type MigrationGen

type MigrationGen struct {
	Env           string
	MigrationType string
	Path          string
	TableName     string
	// contains filtered or unexported fields
}

func (MigrationGen) CmdName

func (MigrationGen) CmdName() string

func (MigrationGen) Description

func (MigrationGen) Description() string

func (*MigrationGen) Flags

func (g *MigrationGen) Flags() *pflag.FlagSet

func (*MigrationGen) Generate

func (mg *MigrationGen) Generate(ctx context.Context, root string, args []string) error

func (*MigrationGen) GenerateResourceMigrations

func (mg *MigrationGen) GenerateResourceMigrations(ctx context.Context, root string, args []string) error

func (MigrationGen) PluginName

func (MigrationGen) PluginName() string

func (*MigrationGen) PrintFlags

func (g *MigrationGen) PrintFlags(w io.Writer) error

func (*MigrationGen) ResourceFlags

func (g *MigrationGen) ResourceFlags() []*pflag.Flag

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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