Add a thin wrapper around pgx to open and verify a Postgres connection from a URL or individual parameters.
2 lines
125 B
Plaintext
2 lines
125 B
Plaintext
PG_FROM_DB_URL=postgresql://postgres:password@localhost:5432/db
|
|
PG_TO_DB_URL=postgresql://postgres:password@localhost:5432/db |