coocood/qbs — pull request #41 by yz0075 (2014-01-11 07:10:22+00:00)
Title: Allow existing *sql.DB to be registered to qbs ORM

Separated qbs.Register function such that assigning the db variable and connecting to a database are handled in different two functions, allowing a user to easily hook up an already established *sql.DB to use the qbs ORM.