func (c Config) MySQLConnMaxIdleTime() time.Duration {
	switch {
	case c.configFileSettings.MySQLConfig.ConnMaxIdleTime != nil:
		return time.Second * time.Duration(
			*c.configFileSettings.MySQLConfig.ConnMaxIdleTime,
		)
	default:
		return defaultMySQLConnMaxIdleTime
	}
}
// MySQLConnMaxIdleTime returns the user-provided maximum time in seconds that
// a database connection can remain idle or the default value if not provided.
//  See also https://github.com/go-sql-driver/mysql#important-settings
MySQLConnMaxIdleTime returns the user-provided maximum time in seconds that
a database connection can remain idle or the default value if not provided.
// MySQLConnMaxIdleTime returns the user - provided maximum time in seconds that // a database connection can remain idle or the default value if not provided . // See also https : // github . com / go - sql - driver / mysql#important - settings
func (c Config) MySQLConnMaxIdleTime() time.Duration {
	switch {
	case c.configFileSettings.MySQLConfig.ConnMaxIdleTime != nil:
		return time.Second * time.Duration(
			*c.configFileSettings.MySQLConfig.ConnMaxIdleTime,
		)
	default:
		return defaultMySQLConnMaxIdleTime
	}
}
func ( c Config ) MySQLConnMaxIdleTime ( ) time . Duration { switch { case c . configFileSettings . MySQLConfig . ConnMaxIdleTime != nil : return time . Second * time . Duration ( * c . configFileSettings . MySQLConfig . ConnMaxIdleTime , ) default : return defaultMySQLConnMaxIdleTime } }
MySQLConnMaxIdleTime returns the user-provided maximum time in seconds that
a database connection can remain idle or the default value if not provided.
MySQLConnMaxIdleTime returns the user - provided maximum time in seconds that a database connection can remain idle or the default value if not provided .