Versions in this module Expand all Collapse all v0 v0.1.0 Apr 25, 2018 Changes in this version + func Down(c *SQLConnection) (record string, err error) + func Status(c *SQLConnection) (err error) + func Sync(c *SQLConnection) (done []string, err error) + func Up(c *SQLConnection) (record string, err error) + type ByID []*migrate.Migration + func (b ByID) Len() int + func (b ByID) Less(i, j int) bool + func (b ByID) Swap(i, j int) + type LocalMigrationSource struct + Dir string + func (l LocalMigrationSource) FindMigrations() (m []*migrate.Migration, err error) + type SQLConfig struct + Address string + Database string + Dialect string + Password string + User string + type SQLConnection struct + func NewMySQLConnection(config *SQLConfig, migrationsDir string) (connection *SQLConnection, err error) + func (c *SQLConnection) CloseMySQLConnection() error