mirror of
https://github.com/foomo/keel.git
synced 2026-10-04 22:27:04 +00:00
11 lines
382 B
Go
11 lines
382 B
Go
// Package keelpostgres provides a thin PostgreSQL persistor built on
|
|
// [database/sql] and the github.com/lib/pq driver.
|
|
//
|
|
// [New] opens and pings the database and optionally runs an initialization
|
|
// statement:
|
|
//
|
|
// p, err := keelpostgres.New(ctx, "postgres://user:pass@localhost:5432/db",
|
|
// keelpostgres.WithInit("create table if not exists ..."),
|
|
// )
|
|
package keelpostgres
|