echo icon indicating copy to clipboard operation
echo copied to clipboard

Modernize for loop using range over int in SetParamValues

Open vishr opened this issue 3 months ago • 0 comments

Summary

Modernizes a for loop in context.go to use Go 1.22's new range over int syntax for cleaner iteration.

Changes:

  • Replace for i := 0; i < limit; i++ with for i := range limit in SetParamValues method

Benefits:

  • Cleaner, more idiomatic Go 1.22+ code
  • Slight performance improvement
  • Reduced cognitive load

Test plan

  • [x] All existing tests pass
  • [x] Linting passes
  • [x] No behavioral changes

🤖 Generated with Claude Code

vishr avatar Sep 16 '25 03:09 vishr