Implement first db-test using go-txdb

This commit is contained in:
jacob1123 committed 2022-02-09 22:40:35 +00:00
1 parent c3db535e10
commit 6ab8a96888
4 files changed
+60 -29

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ func main() {
log.Fatalf("Could not load config: %v", err)
}
q, err := postgres.Connect(cfg.DatabaseConnection)
q, err := postgres.Connect("pgx", cfg.DatabaseConnection)
if err != nil {
log.Fatalf("Failed connecting to DB: %v", err)
}