Documentation ¶
Index ¶
Constants ¶
View Source
const ( DriverSQLMock = "sqlmock" DriverMySQL = "mysql" MigrateUp MigrationCommand = "up" MigrateDown MigrationCommand = "down" )
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
func Migrate(command MigrationCommand) (change bool, err error)
Types ¶
type MigrationCommand ¶
type MigrationCommand string
Click to show internal directories.
Click to hide internal directories.