Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMigration ¶
func SetMigration(name string, m Migrationer) error
func ToSnakeCase ¶
Types ¶
type MigrationCommand ¶
type MigrationCommand interface { CreateFile(name string, extention string, fileType string, additionalInfo ...interface{}) error Migrate(status string) Seed() }
Migration is type for creating thing that related with migration database
func NewMigration ¶
func NewMigration(dir string, conn string, seedDir string, projectStructere ...interface{}) MigrationCommand
NewMigration ..
type Migrationer ¶
Click to show internal directories.
Click to hide internal directories.