jinzhu/gorm — pull request #166 by ithinco (2014-07-13 09:05:33+00:00)
Title: add comment on creating a global DB variable

//Pls note that it's "=" rather than ":="
DB, err = gorm.Open("postgres", "user=gorm dbname=gorm sslmode=disable")