Versions in this module Expand all Collapse all v0 v0.3.0 Dec 23, 2025 Changes in this version + func Close(db *gorm.DB) error + func Open(cfg Config) (*gorm.DB, error) + func StatusCheck(ctx context.Context, db *gorm.DB) error + type Config struct + Debug bool + Host string + MaxIdleConns int + MaxLifetime time.Duration + MaxOpenConns int + Name string + Password string + Port int + SSLMode string + Timezone string + User string