Versions in this module Expand all Collapse all v0 v0.1.0 Feb 16, 2026 Changes in this version + type Default struct + func NewProdFactory(config *config.DatabaseConfig) *Default + func (f *Default) CheckConnection() error + func (f *Default) Close() error + func (f *Default) DirectDB() *sql.DB + func (f *Default) Init(config *config.DatabaseConfig) + func (f *Default) New(ctx context.Context) *gorm.DB + func (f *Default) NewListener(ctx context.Context, channel string, callback func(id string)) + func (f *Default) ReconfigureLogger(level gormlogger.LogLevel) + func (f *Default) ResetDB() + type LoggerReconfigurable interface + ReconfigureLogger func(level logger.LogLevel) + type Test struct + func NewTestFactory(config *config.DatabaseConfig) *Test + func (f *Test) CheckConnection() error + func (f *Test) Close() error + func (f *Test) DirectDB() *sql.DB + func (f *Test) Init(config *config.DatabaseConfig) + func (f *Test) New(ctx context.Context) *gorm.DB + func (f *Test) NewListener(ctx context.Context, channel string, callback func(id string)) + func (f *Test) ReconfigureLogger(level gormlogger.LogLevel) + func (f *Test) ResetDB() + type Testcontainer struct + func NewTestcontainerFactory(config *config.DatabaseConfig) *Testcontainer + func (f *Testcontainer) CheckConnection() error + func (f *Testcontainer) Close() error + func (f *Testcontainer) DirectDB() *sql.DB + func (f *Testcontainer) Init(config *config.DatabaseConfig) + func (f *Testcontainer) New(ctx context.Context) *gorm.DB + func (f *Testcontainer) NewListener(ctx context.Context, channel string, callback func(id string)) + func (f *Testcontainer) ReconfigureLogger(level gormlogger.LogLevel) + func (f *Testcontainer) ResetDB() v0.1.0-rc.1 Feb 16, 2026