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

refactor: Replace interface{} by any #7

Merged
merged 1 commit into from
Nov 2, 2022
Merged

refactor: Replace interface{} by any #7

merged 1 commit into from
Nov 2, 2022

Conversation

TwiN
Copy link
Owner

@TwiN TwiN commented Nov 2, 2022

Summary

This replaces the type interface{} by any - an alias type for interface{} introduced in Go 1.18.

This does not change how anything works, but it is slightly more readable.

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Added the documentation in README.md, if applicable.

@TwiN TwiN merged commit eab552f into master Nov 2, 2022
@TwiN TwiN deleted the refactor/any branch November 2, 2022 01:08
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