Skip to content

Commit

Permalink
clarify the package name (golang-migrate#660)
Browse files Browse the repository at this point in the history
* clarify the package name

* Adding import and connection string sections

* more clarification around the go usage
  • Loading branch information
khash authored Dec 7, 2021
1 parent efbef2a commit b69b032
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func main() {
m, err := migrate.NewWithDatabaseInstance(
"file:///migrations",
"postgres", driver)
m.Steps(2)
m.Up() // or m.Step(2) if you want to explicitly set the number of migrations to run
}
```

Expand Down
13 changes: 12 additions & 1 deletion source/google_cloud_storage/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# google_cloud_storage
# Google Cloud Storage


## Import

```go
import (
_ "github.com/golang-migrate/migrate/v4/source/google_cloud_storage"
)
```

## Connection String

`gcs://<bucket>/<prefix>`

0 comments on commit b69b032

Please sign in to comment.