Implement first db-test using go-txdb

This commit is contained in:
2022-02-09 22:25:51 +00:00
parent c3db535e10
commit 6ab8a96888
4 changed files with 60 additions and 29 deletions

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)
}