Versions in this module Expand all Collapse all v0 v0.0.1 Jun 17, 2021 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 + UserName string