Fixed ENV support

This commit is contained in:
Magnus Åhall 2025-08-06 10:56:56 +02:00
parent dc8a638814
commit 94512dff5e
3 changed files with 46 additions and 9 deletions

1
db.go
View file

@ -22,7 +22,6 @@ func initDB(host string, port int, dbName, username, password string) (err error
password,
dbName,
)
if db, err = sqlx.Connect("postgres", dbConn); err != nil {
return
}