Added valid postgres connect string with host and password

This commit is contained in:
Andy Ruland 2016-05-04 12:25:08 +04:00
parent c627e49002
commit a11f3de60d

View File

@ -43,7 +43,7 @@ import (
) )
func main() { func main() {
db, err := gorm.Open("postgres", "user=gorm dbname=gorm sslmode=disable") db, err := gorm.Open("postgres", "host=myhost user=gorm dbname=gorm sslmode=disable password=mypassword")
} }
``` ```