Documentation
¶
Index ¶
- Variables
- func Plugins(migrations fs.FS) []core.Plugin
- type Command
- func (m *Command) Flags() *pflag.FlagSet
- func (m Command) HelpText() string
- func (m *Command) Name() string
- func (m *Command) ParentName() string
- func (m *Command) ParseFlags(args []string)
- func (m *Command) Run(ctx context.Context, root string, args []string) error
- func (mu *Command) RunBeforeTest(ctx context.Context, root string, args []string) error
- func (mu *Command) RunDown() error
- func (mu *Command) RunUp() error
- type Creator
- type Creators
- type Generator
- type Initializer
- type Logger
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Command ¶
type Command struct { *Logger // contains filtered or unexported fields }
func NewCommand ¶ added in v0.12.0
func (*Command) ParentName ¶
func (*Command) ParseFlags ¶
func (*Command) RunBeforeTest ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator allows to identify model as a plugin
func (Generator) InvocationName ¶
InvocationName is used to identify the generator when the generate command is called.
func (*Generator) ParseFlags ¶
type Initializer ¶
type Initializer struct{}
func (Initializer) Initialize ¶
func (Initializer) Name ¶
func (in Initializer) Name() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.