From 9f774d3e6a76f0bbce88c0a4402d980fd440a9f1 Mon Sep 17 00:00:00 2001 From: Matthias Kadenbach Date: Tue, 7 Feb 2017 23:00:25 -0800 Subject: [PATCH] fix typo in go-bindata README --- source/go-bindata/README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/go-bindata/README.md b/source/go-bindata/README.md index c7745437..bfb70cbb 100644 --- a/source/go-bindata/README.md +++ b/source/go-bindata/README.md @@ -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 @@ -23,7 +18,6 @@ Then use it in CLI: migrate -source go-bindata://examples/migrations/bindata.go ``` -or with library: ``` import ( @@ -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 } ```