Use PgPort from dbconfig.go.

This commit is contained in:
go-jet 2021-08-30 12:19:21 +02:00
parent 0017773d27
commit 419da1d1b0

View file

@ -100,7 +100,7 @@ func initPostgresDB() {
err = postgres.Generate("./.gentestdata", postgres.DBConnection{ err = postgres.Generate("./.gentestdata", postgres.DBConnection{
Host: dbconfig.PgHost, Host: dbconfig.PgHost,
Port: 5432, Port: dbconfig.PgPort,
User: dbconfig.PgUser, User: dbconfig.PgUser,
Password: dbconfig.PgPassword, Password: dbconfig.PgPassword,
DBName: dbconfig.PgDBName, DBName: dbconfig.PgDBName,