qor-example
qor-example copied to clipboard
Why no dbConfig.Port in postgres?
DB, err = gorm.Open("postgres", fmt.Sprintf("postgres://%v:%v@%v/%v?sslmode=disable", dbConfig.User, dbConfig.Password, dbConfig.Host, dbConfig.Name))
oversight, just add it.
I think theplant uses MySQL to host the example so it never noticed.