// CloseDB closes the db connection
CloseDB closes the db connection
// CloseDB closes the db connection
func CloseDB(db *sql.DB) error {
	if db == nil {
		return nil
	}
	return errors.Trace(db.Close())
}
func CloseDB ( db * sql . DB ) error { if db == nil { return nil } return errors . Trace ( db . Close ( ) ) }
CloseDB closes the db connection
CloseDB closes the db connection