Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommand ¶
BuildCommand builds a parent command for all database-related subcommands
Types ¶
type Clear ¶
type Clear struct {
command.ProjectPathCommand
}
Clear command for clearing database tables.
func (*Clear) BuildCobraCommand ¶
BuildCobraCommand builds the cobra command for this action
func (*Clear) BuildSurvey ¶
BuildSurvey builds a survey for this action
type Migrate ¶
type Migrate struct {
command.ProjectPathCommand
}
Migrate command for running auto migrations.
func (*Migrate) BuildCobraCommand ¶
BuildCobraCommand builds the cobra command for this action
func (*Migrate) BuildSurvey ¶
BuildSurvey builds a survey for this action
type Seed ¶
type Seed struct { command.ProjectPathCommand ExportedFunctions []string Seeders []string }
Seed command for running seeders.
func (*Seed) BuildCobraCommand ¶
BuildCobraCommand builds the cobra command for this action
func (*Seed) BuildSurvey ¶
BuildSurvey builds a survey for this action
Click to show internal directories.
Click to hide internal directories.