Skip to content

Conversation

vishr
Copy link
Member

@vishr vishr commented Sep 16, 2025

Summary

Completes the modernization of context.go by replacing all remaining interface{} types with any.

Changes:

  • Updated Context interface method signatures (23 occurrences)
  • Updated implementation method signatures
  • Methods affected: Get, Set, Bind, Validate, Render, JSON*, XML*, JSONP

Benefits:

  • Improved code readability
  • Follows Go 1.18+ best practices
  • Consistent with modern Go codebases

Test plan

  • All existing tests pass
  • Linting passes
  • No behavioral changes

🤖 Generated with Claude Code

vishr and others added 2 commits September 15, 2025 20:41
Uses Go 1.22+ range over int syntax for cleaner iteration.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Completes the modernization of context.go by replacing remaining
interface{} types with any in:
- Context interface method signatures
- Implementation method signatures

Improves code readability and follows Go 1.18+ best practices.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
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