Add import to example.

The example in README with file source doesn't work without importing "github.com/mattes/migrate/source/github" package.
This commit is contained in:
Ivan Daniluk 2017-05-04 19:42:12 +02:00 committed by GitHub
parent e42058f15a
commit ed5a887579
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ import (
_ "github.com/lib/pq"
"github.com/mattes/migrate"
"github.com/mattes/migrate/database/postgres"
_ "github.com/mattes/migrate/source/file"
)
func main() {