Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
DB is a singletone instance fo database connection
Functions ¶
func Connection ¶
Connection creates and returns a database connection using specified in environment variables. If a connectio alread exists, previous connection is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.