echo
echo copied to clipboard
Modernize for loop using range over int in SetParamValues
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++withfor i := range limitinSetParamValuesmethod
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