Versions in this module Expand all Collapse all v1 v1.0.0 Jul 18, 2024 Changes in this version + var Database = func() *gorm.DB { ... }() + func ApplyConfig(db *gorm.DB) error + func CloseConnection(db *gorm.DB) error + func Connect() (*gorm.DB, error) + func Migrate(models ...interface{}) + func TimeNow() time.Time + type BaseModel struct + CreatedAt time.Time + ID int64 + IsDeleted soft_delete.DeletedAt + UpdatedAt time.Time