Skip to content

Apply go fix ./... for Go 1.26 modernization#4315

Open
kyleconroy wants to merge 1 commit intomainfrom
claude/run-go-fix-kCdWH
Open

Apply go fix ./... for Go 1.26 modernization#4315
kyleconroy wants to merge 1 commit intomainfrom
claude/run-go-fix-kCdWH

Conversation

@kyleconroy
Copy link
Collaborator

Run go fix to apply automated code modernizations including:

  • Replace interface{} with any
  • Replace reflect.Ptr with reflect.Pointer
  • Remove unnecessary loop variable copies (Go 1.22+)
  • Use strings.Builder instead of string concatenation
  • Use strings.SplitSeq and strings.CutPrefix
  • Use slices.Contains and maps.Copy
  • Use integer range loops (for i := range n)
  • Inline toPointer helper with new(x)
  • Remove omitempty where omitzero semantics apply

https://claude.ai/code/session_01B28566J8s8ueCF5BobeKkE

Run go fix to apply automated code modernizations including:
- Replace interface{} with any
- Replace reflect.Ptr with reflect.Pointer
- Remove unnecessary loop variable copies (Go 1.22+)
- Use strings.Builder instead of string concatenation
- Use strings.SplitSeq and strings.CutPrefix
- Use slices.Contains and maps.Copy
- Use integer range loops (for i := range n)
- Inline toPointer helper with new(x)
- Remove omitempty where omitzero semantics apply

https://claude.ai/code/session_01B28566J8s8ueCF5BobeKkE
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang labels Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants