package
Version:
v0.0.0-...-fb979a2
Opens a new window with list of versions in this module.
Published: Jan 19, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package database wraps gorm.DB and some constuctor methods
type Database struct {
Db *gorm.DB
}
Database type that contains gorm.DB object
Open opens a regular database
OpenInMemory opens a in memory database
OpenTest opens a database in current dir for testing purposes
Source Files
¶
Click to show internal directories.
Click to hide internal directories.