From 12ee88e433afda3baad4395879994a9eb07c82b9 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 21 Oct 2019 12:48:27 +0200 Subject: correct database --- src/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.go b/src/db.go index 75cc93a..98a9305 100644 --- a/src/db.go +++ b/src/db.go @@ -10,7 +10,7 @@ import ( // setup the Database func setupDatabase() (*sql.DB, error) { - connStr := "host=localhost port=5432 user=postgres dbname=postgres sslmode=disable" + connStr := "host=postgresql port=5432 user=postgres dbname=postgres sslmode=disable" // open a connection to the database db, err := sql.Open("postgres", connStr) -- cgit 1.4.1