Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
func Configure(details *ConnectionDetails)
Configure bootstraps a Database Connection.
Types ¶
type ConnectionDetails ¶
ConnectionDetails contains all the information about a Database Connection.
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database is a wrapper for gorm.DB.
func (*Database) Close ¶
func (d *Database) Close()
Close is a wrapper to close the Database Connection.
func (*Database) Connection ¶
Connection creates a new database connection or if exists returns with the existing one.
Click to show internal directories.
Click to hide internal directories.