qor-example icon indicating copy to clipboard operation
qor-example copied to clipboard

Why no dbConfig.Port in postgres?

Open goodforever opened this issue 7 years ago • 1 comments

	DB, err = gorm.Open("postgres", fmt.Sprintf("postgres://%v:%v@%v/%v?sslmode=disable", dbConfig.User, dbConfig.Password, dbConfig.Host, dbConfig.Name))

goodforever avatar Apr 06 '18 12:04 goodforever

oversight, just add it.

I think theplant uses MySQL to host the example so it never noticed.

cryptix avatar Apr 07 '18 08:04 cryptix