package
Version:
v0.0.0-...-92f7cd3
Opens a new window with list of versions in this module.
Published: Jun 2, 2020
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConnectLoop is the func for connection in a loop with timeout
DB is the struct for a DB connection
New creates a new DB connection
func (db *DB) AutoMigrateAll()
AutoMigrateAll is the func for auto migration for all entities
type IDB interface {
DB() *gorm.DB
}
IDB is the interface for a DB connection
Source Files
¶
Click to show internal directories.
Click to hide internal directories.