Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f6745a

Browse files
committed
Error in example mysql driver import statement
1 parent 8fe1a56 commit 2f6745a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ See GoDoc here: http://godoc.org/github.com/mattes/migrate/migrate
7979
import "github.com/mattes/migrate/migrate"
8080

8181
// Import any required drivers so that they are registered and available
82-
import _ "github.com/mattes/migrate/drivers/mysql"
82+
import _ "github.com/mattes/migrate/driver/mysql"
8383

8484
// use synchronous versions of migration functions ...
8585
allErrors, ok := migrate.UpSync("driver://url", "./path")

0 commit comments

Comments
 (0)