Skip to content

Modernize Go code#644

Merged
tklauser merged 1 commit intomainfrom
pr/tklauser/modernize
Jan 30, 2026
Merged

Modernize Go code#644
tklauser merged 1 commit intomainfrom
pr/tklauser/modernize

Conversation

@tklauser
Copy link
Member

Run modernize -fix ./... to modernize Go code:

  • Remove old-style +build tags
  • Replace interface{} by any
  • Remove unnecessary loop variable copies
  • Use testing.B.Loop in benchmark

Run modernize -fix ./... to modernize Go code:

- Remove old-style +build tags
- Replace interface{} by any
- Remove unnecessary loop variable copies
- Use testing.B.Loop in benchmark

Signed-off-by: Tobias Klauser <tobias@cilium.io>
@tklauser tklauser requested a review from brb January 23, 2026 10:47
@tklauser tklauser force-pushed the pr/tklauser/modernize branch from 5ba735f to 223e595 Compare January 23, 2026 10:47
@tklauser tklauser requested a review from a team as a code owner January 23, 2026 10:47
@tklauser tklauser enabled auto-merge (rebase) January 28, 2026 09:38
@tklauser tklauser merged commit 417d63a into main Jan 30, 2026
10 checks passed
@tklauser tklauser deleted the pr/tklauser/modernize branch January 30, 2026 13:53
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.

2 participants