go-livepeer icon indicating copy to clipboard operation
go-livepeer copied to clipboard

refactor: replace interface{} with any for clarity and modernization

Open ledigang opened this issue 1 month ago • 1 comments

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] make runs successfully
  • [x] All tests in ./test.sh pass
  • [ ] README and other documentation updated
  • [ ] Pending changelog updated

ledigang avatar Nov 20 '25 10:11 ledigang

@leszko Hi, Could you please review this PR at your convenience? Thank you very much.

ledigang avatar Nov 24 '25 08:11 ledigang