diff options
author | Emile <hanemile@protonmail.com> | 2019-10-21 12:00:12 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-21 12:00:12 +0200 |
commit | 485ef73b36ca5c91c02d3268d190fa6d2ad36edc (patch) | |
tree | 817f3444d163d54bce0af6e8bb97aa799dd8515c /src | |
parent | fcb84b26cbd6b8c30869cf1adb07fdc23a071dac (diff) |
revert
Diffstat (limited to 'src')
-rw-r--r-- | src/db.go | 2 |
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) } |