Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Commit

Permalink
fix typo in go-bindata README
Browse files Browse the repository at this point in the history
  • Loading branch information
mattes committed Feb 8, 2017
1 parent f7699f1 commit 9f774d3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions source/go-bindata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,11 @@
## Usage


First create `bindata.go`

```
go get -u github.com/jteeuwen/go-bindata/...
cd examples/migrations && go-bindata -pkg migrations .
```

Then use it in CLI:

//

```
// TODO
Expand All @@ -23,7 +18,6 @@ Then use it in CLI:
migrate -source go-bindata://examples/migrations/bindata.go
```

or with library:

```
import (
Expand All @@ -39,7 +33,7 @@ func main() {
return migrations.Asset(name)
})
m, err := migrate.NewWithSourceInstance("go-bindata", resource, "database://foobar")
m, err := migrate.NewWithSourceInstance("go-bindata", s, "database://foobar")
m.Up() // run your migrations and handle the errors above of course
}
```
Expand Down

0 comments on commit 9f774d3

Please sign in to comment.