Versions in this module Expand all Collapse all v0 v0.0.1 Jun 4, 2024 Changes in this version + func Must(opts ...Option) *gorm.DB + type Config struct + Addr string + DbName string + LogLevel logger.LogLevel + MaxIdleConnections int + MaxLifetime int + MaxOpenConnections int + Password string + PrepareStmt bool + ReadConfig []Config + ReadTimeout int + Source string + Timeout int + User string + WriteTimeout int + func (c *Config) DSN() string + type Option func(*Options) + func WithConfig(conf Config) Option + func WithHooks(hks ...func(*gorm.DB)) Option + func WithPrepareStmt() Option + type Options struct