Merge pull request #991 from randomandy/patch-1
Added valid postgres connect string with host and password
This commit is contained in:
		
						commit
						7707d480dd
					
				@ -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")
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user