go-livepeer
go-livepeer copied to clipboard
refactor: replace interface{} with any for clarity and modernization
What does this pull request do? Explain your changes. (required)
This change replaces occurrences of interface{} with the predeclared identifier any, introduced in Go 1.18 as an alias for interface{}.
As noted in the Go 1.18 Release Notes: This improves readability and aligns the codebase with modern Go conventions.
Specific updates (required)
How did you test each of these updates (required)
Does this pull request close any open issues?
Checklist:
- [x] Read the contribution guide
- [x]
makeruns successfully - [x] All tests in
./test.shpass - [ ] README and other documentation updated
- [ ] Pending changelog updated
@leszko Hi, Could you please review this PR at your convenience? Thank you very much.