Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommand ¶
AddCommand adds one or more commands to this parent command.
func Execute ¶
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func RemoveCommand ¶
RemoveCommand removes one or more commands from a parent command.
func SetCustomMigrationDbLinkName ¶
func SetCustomMigrationDbLinkName(name string)
func SetCustomMigrationGetDbConfig ¶
func SetCustomMigrationGetDbConfig(f func(name string) MigrateDbConfig)
Types ¶
type MigrateDbConfig ¶
type MigrateDbConfig struct { Type string `json:"type" xml:"type"` Host string `json:"host" xml:"host"` Port string `json:"port" xml:"port"` Name string `json:"name" xml:"name"` User string `json:"user" xml:"user"` Pass string `json:"pass" xml:"pass"` Link string `json:"link" xml:"link"` Prefix string `json:"prefix" xml:"prefix"` }
MigrateDbConfig migrate database config fields
Click to show internal directories.
Click to hide internal directories.