From fcb84b26cbd6b8c30869cf1adb07fdc23a071dac Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 21 Oct 2019 11:49:03 +0200 Subject: updated the database name --- src/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db.go') diff --git a/src/db.go b/src/db.go index e9b127c..f3ce53a 100644 --- a/src/db.go +++ b/src/db.go @@ -11,7 +11,7 @@ import ( // setup the Database func setupDatabase() *sql.DB { connStr := "user=postgres dbname=postgres sslmode=disable" - db, err := sql.Open("postgres", connStr) + db, err := sql.Open("postgresql", connStr) if err != nil { log.Fatal(err) } -- cgit 1.4.1