Skip to content

refactor: replace interface{} with any#113

Open
MD-Mushfiqur123 wants to merge 1 commit into
unrolled:v1from
MD-Mushfiqur123:fix/interface-to-any
Open

refactor: replace interface{} with any#113
MD-Mushfiqur123 wants to merge 1 commit into
unrolled:v1from
MD-Mushfiqur123:fix/interface-to-any

Conversation

@MD-Mushfiqur123
Copy link
Copy Markdown

Replace interface{} with any across the codebase. any is a type alias for interface{} available since Go 1.18. The module already requires go 1.25.0, so any is the preferred form.

This change is fully backward compatible — any and interface{} are identical at runtime.

any is an alias for interface{} available since Go 1.18.
This package already requires go 1.25.0, so any is preferred.

Signed-off-by: Md Mushfiqur Rahim <mushfiqur.rahim.official@gmail.com>
Signed-off-by: Developer <dev@example.com>
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