Skip to content

Conversation

aofei
Copy link
Member

@aofei aofei commented Apr 27, 2025

No description provided.

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
@Copilot Copilot AI review requested due to automatic review settings April 27, 2025 08:24
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

A refactor to leverage Go 1.22 syntax by replacing the traditional for loop with a for-range pattern.

  • Replaced the for loop iterating over an integer from 0 to 9 with a for-range loop over the constant maxRetries.

Copy link

codecov bot commented Apr 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.67%. Comparing base (239fd87) to head (5aaf6d4).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
+ Coverage   80.65%   80.67%   +0.01%     
==========================================
  Files          11       11              
  Lines        1370     1371       +1     
==========================================
+ Hits         1105     1106       +1     
  Misses        257      257              
  Partials        8        8              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aofei aofei merged commit 50d2fc6 into goproxy:master Apr 27, 2025
7 checks passed
@aofei aofei deleted the for-range branch April 27, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant