package
Version:
v0.0.0-...-ad0e884
Opens a new window with list of versions in this module.
Published: Feb 12, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AppDb struct {
*gorm.DB
}
func InitDatabase() *AppDb
type IAppDB interface {
Create(value interface{}) (tx *gorm.DB)
Where(query interface{}, args ...interface{}) *gorm.DB
}
type IDatabaseConfig interface {
GetDatabaseConfig() config.DBConfig
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.