Use PgPort from dbconfig.go.
This commit is contained in:
parent
0017773d27
commit
419da1d1b0
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ func initPostgresDB() {
|
|||
|
||||
err = postgres.Generate("./.gentestdata", postgres.DBConnection{
|
||||
Host: dbconfig.PgHost,
|
||||
Port: 5432,
|
||||
Port: dbconfig.PgPort,
|
||||
User: dbconfig.PgUser,
|
||||
Password: dbconfig.PgPassword,
|
||||
DBName: dbconfig.PgDBName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue