Versions in this module Expand all Collapse all v1 v1.0.0 Dec 7, 2024 Changes in this version + func Must(opts ...Option) *gorm.DB + type Config struct + Addr string + DbName string + LogLevel string + MaxIdleConnections int + MaxLifetime int + MaxOpenConnections int + Password string + ReadConfig []Config + ReadTimeout int + Source string + SslMode string + Timeout int + User string + WriteTimeout int + func (c *Config) DSN() string + type Dict map[string]interface + func (d *Dict) Scan(v interface{}) error + func (d Dict) Value() (driver.Value, error) + func NewDict() Dict + type Model struct + CreatedAt int64 + ID int64 + UpdatedAt int64 + type Option func(*Options) + func WithConfig(conf Config) Option + func WithDebug() Option + type Options struct