Use Environment variable for Postgres SSL Mode setting
Compare changes
+ 2
− 1
@@ -18,6 +18,7 @@ type PostgresConfig struct {
@@ -18,6 +18,7 @@ type PostgresConfig struct {
@@ -30,7 +31,7 @@ func Dbinit() {
@@ -30,7 +31,7 @@ func Dbinit() {
dsn := string("host="+ c.Host + " user=" + c.User + " password=" + c.Password + " port=" + c.Port + " sslmode=disabled TimeZone=Europe/Budapest")