stead from pg

This commit is contained in:
Bel LaPointe
2026-03-09 09:02:16 -06:00
parent 4bf673461e
commit cc18763944
9 changed files with 318 additions and 0 deletions

12
pg.go Normal file
View File

@@ -0,0 +1,12 @@
package with
import (
"context"
"database/sql"
_ "github.com/lib/pq"
)
func PSQL(ctx context.Context, conn string, foo func(db *sql.DB) error) error {
return _sql(ctx, "postgres", conn, foo)
}