Skip to content

Commit b69b032

Browse files
authored
clarify the package name (#660)
* clarify the package name * Adding import and connection string sections * more clarification around the go usage
1 parent efbef2a commit b69b032

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func main() {
141141
m, err := migrate.NewWithDatabaseInstance(
142142
"file:///migrations",
143143
"postgres", driver)
144-
m.Steps(2)
144+
m.Up() // or m.Step(2) if you want to explicitly set the number of migrations to run
145145
}
146146
```
147147

source/google_cloud_storage/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1-
# google_cloud_storage
1+
# Google Cloud Storage
2+
3+
4+
## Import
5+
6+
```go
7+
import (
8+
_ "github.com/golang-migrate/migrate/v4/source/google_cloud_storage"
9+
)
10+
```
11+
12+
## Connection String
213

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

0 commit comments

Comments
 (0)