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

gofmt -w -r 'interface{} -> any' . #1624

Closed
wants to merge 1 commit into from
Closed

gofmt -w -r 'interface{} -> any' . #1624

wants to merge 1 commit into from

Conversation

alexandear
Copy link
Contributor

@alexandear alexandear commented Sep 18, 2023

This PR replaces interface{} with any. Because the project supports Go >= 1.20 this is a safe change.

any appears in Go 1.18.

@erikdubbelboer
Copy link
Collaborator

In theory we still support Go 1.17. I'm ok if you drop support for that in this pull request. 1.17 hasn't been supported by the official Go team for more than a year already.

@alexandear alexandear closed this Sep 18, 2023
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.

2 participants