Skip to content

refactor: replace interface{} with any (Go 1.18+)#881

Open
MD-Mushfiqur123 wants to merge 1 commit into
google:masterfrom
MD-Mushfiqur123:refactor/interface-to-any
Open

refactor: replace interface{} with any (Go 1.18+)#881
MD-Mushfiqur123 wants to merge 1 commit into
google:masterfrom
MD-Mushfiqur123:refactor/interface-to-any

Conversation

@MD-Mushfiqur123

Copy link
Copy Markdown

Replace all occurrences of interface{} with any across the codebase. This is a mechanical refactor using Go 1.18+ syntax, now that the module requires Go 1.24.

Fixes 13 files.

@google-cla

google-cla Bot commented Jun 15, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Since Go 1.18, `any` is the built-in alias for `interface{}`. This change modernizes the codebase.

Signed-off-by: MD-Mushfiqur123 <20mahin2020@gmail.com>
@MD-Mushfiqur123 MD-Mushfiqur123 force-pushed the refactor/interface-to-any branch from 955f984 to 9a2980c Compare June 15, 2026 10:07
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