Update README.md

Late edit I promise...
This commit is contained in:
Martin Magakian 2017-07-03 15:45:41 +02:00 committed by GitHub
parent 1485e567f1
commit 56a56527c6
1 changed files with 1 additions and 5 deletions

View File

@ -25,11 +25,7 @@ func main() {
return migrations.Asset(name)
})
d, err := bindata.WithInstance(s)
if err != nil {
t.Fatal(err)
}
d, err := bindata.WithInstance(s)
m, err := migrate.NewWithSourceInstance("go-bindata", d, "database://foobar")
m.Up() // run your migrations and handle the errors above of course
}