Fixed ENV support
This commit is contained in:
parent
dc8a638814
commit
94512dff5e
3 changed files with 46 additions and 9 deletions
1
db.go
1
db.go
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue