Implement first db-test using go-txdb
This commit is contained in:
1 parent
c3db535e10
commit
6ab8a96888
4 files changed
+60
-29
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user