Error in example mysql driver import statement

This commit is contained in:
Jamie Cuthill 2015-11-13 11:57:52 +00:00
parent 8fe1a56731
commit 2f6745a42f
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ See GoDoc here: http://godoc.org/github.com/mattes/migrate/migrate
import "github.com/mattes/migrate/migrate"
// Import any required drivers so that they are registered and available
import _ "github.com/mattes/migrate/drivers/mysql"
import _ "github.com/mattes/migrate/driver/mysql"
// use synchronous versions of migration functions ...
allErrors, ok := migrate.UpSync("driver://url", "./path")