package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Aug 29, 2023
License: AGPL-3.0, AGPL-3.0-or-later
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DB is a global variable for database
func InitDatabase(filePath string)
InitDatabase init database
type DBInterface interface {
InitDB(migrateDst ...interface{}) (*gorm.DB, error)
}
DBInterface is an interface for database
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.