Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace interface{} → any #2631

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

replace interface{} → any #2631

wants to merge 3 commits into from

Conversation

lkeix
Copy link
Contributor

@lkeix lkeix commented Apr 28, 2024

What

replaced interface{} to any.

Why

golang 1.18 support any as type alias for interafce{}.
If echo follow golang support policy, the smarter using any than using interface{}.

Concerns

Impact for an application run the environment that golang version is < golang 1.18.
The application run at environment is under golang 1.18 will be failed to run, since type alias any is supported after golang 1.18.
If echo support the application run at environment is under golang 1.18, this PR should be contained to v5.

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.

None yet

1 participant