about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-21 12:00:12 +0200
committerEmile <hanemile@protonmail.com>2019-10-21 12:00:12 +0200
commit485ef73b36ca5c91c02d3268d190fa6d2ad36edc (patch)
tree817f3444d163d54bce0af6e8bb97aa799dd8515c
parentfcb84b26cbd6b8c30869cf1adb07fdc23a071dac (diff)
revert
-rw-r--r--src/db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.go b/src/db.go
index f3ce53a..e9b127c 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("postgresql", connStr)
+	db, err := sql.Open("postgres", connStr)
 	if err != nil {
 		log.Fatal(err)
 	}