Update README.md

This commit is contained in:
Martin Magakian 2017-07-03 15:45:57 +02:00 committed by GitHub
parent 56a56527c6
commit 35af42a0dd
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ func main() {
return migrations.Asset(name)
})
d, err := bindata.WithInstance(s)
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
}