Versions in this module Expand all Collapse all v1 v1.2.1 Oct 25, 2023 Changes in this version + func NewMySQL(c *Config) (db *gorm.DB) + type Config struct + Addr string + ConnMaxLifeTime time.Duration + MaxIdleConn int + MaxOpenConn int + Name string + Password string + ShowLog bool + SlowThreshold time.Duration + UserName string