Fix readme
This commit is contained in:
@@ -14,13 +14,13 @@ A PostgreSQL schema migration tool that generates and applies migrations by comp
|
||||
### As a Library
|
||||
|
||||
```bash
|
||||
go get git.petrovv.com/go-migrate
|
||||
go get git.petrovv.com/nikola/go_sql_schema_migrate
|
||||
```
|
||||
|
||||
### CLI Tool
|
||||
|
||||
```bash
|
||||
go install git.petrovv.com/go-migrate/cmd/go-migrate@latest
|
||||
go install git.petrovv.com/nikola/go_sql_schema_migrate/cmd/go-migrate@latest
|
||||
```
|
||||
|
||||
## Usage
|
||||
@@ -28,7 +28,7 @@ go install git.petrovv.com/go-migrate/cmd/go-migrate@latest
|
||||
### Library
|
||||
|
||||
```go
|
||||
import "git.petrovv.com/go-migrate"
|
||||
import "git.petrovv.com/nikola/go_sql_schema_migrate"
|
||||
|
||||
ctx := context.Background()
|
||||
db, _ := pgxpool.New(ctx, "postgres://user:pass@localhost:5432/db")
|
||||
|
||||
Reference in New Issue
Block a user