Skip to content

refactor: use range-over-integer loops#3042

Open
zxysilent wants to merge 1 commit into
labstack:masterfrom
zxysilent:master
Open

refactor: use range-over-integer loops#3042
zxysilent wants to merge 1 commit into
labstack:masterfrom
zxysilent:master

Conversation

@zxysilent

Copy link
Copy Markdown

Use Go's range-over-integer syntax where the index is either needed directly or not used. This simplifies the loops without changing behavior.

@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.42%. Comparing base (01b45be) to head (574f1b5).
⚠️ Report is 32 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3042      +/-   ##
==========================================
+ Coverage   93.17%   93.42%   +0.24%     
==========================================
  Files          43       43              
  Lines        4501     4730     +229     
==========================================
+ Hits         4194     4419     +225     
- Misses        189      190       +1     
- Partials      118      121       +3     

☔ View full report in Codecov by Harness.
📢 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.

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