package
Version:
v0.0.0-...-9d12082
Opens a new window with list of versions in this module.
Published: Jun 24, 2020
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AutoMigrate is used to auto migrate new scheme to the database using gorm
Close is used to close the database connection
func DestructiveReset() *gorm.DB
DestructiveReset is used to delete all data and table on the database
Init is used to init the connection to the database
LogMode is used to enable/disable the SQL Command on the stdout
Migrate is used to migrate database using go-migrate
Session is used to get the database connection session
Source Files
¶
Click to show internal directories.
Click to hide internal directories.