2
0

Rename pgxpool.NewConfig to NewWithConfig

https://github.com/jackc/pgx/issues/1264
This commit is contained in:
Jack Christensen
2022-07-30 09:16:42 -05:00
parent c3258b7f52
commit 033fc6f62a
4 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ func main() {
log.Fatalln("Unable to parse DATABASE_URL:", err)
}
db, err = pgxpool.NewConfig(context.Background(), poolConfig)
db, err = pgxpool.NewWithConfig(context.Background(), poolConfig)
if err != nil {
log.Fatalln("Unable to create connection pool:", err)
}