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{} with any #966

Merged
merged 6 commits into from
Jun 18, 2024

Conversation

percivalalb
Copy link
Contributor

@percivalalb percivalalb commented Jun 15, 2024

Go 1.18 introduced any which is prefered over interface{}, they are equivalent (type alias).

golang/go@2580d0e

The go.mod currently targets Go 1.20+

@percivalalb percivalalb force-pushed the alb/replace-interface-w-any branch from 04ea06b to 4c03734 Compare June 15, 2024 20:22
openapi3/schema.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@fenollp fenollp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this (as well!) I only have 2 requests and this needs rebasing. LGTM!

percivalalb and others added 6 commits June 16, 2024 17:46
Go 1.18 introduced any which is prefered over interface{},
they are equivalent (type alias).

golang/go@2580d0e
Co-authored-by: Pierre Fenoll <pierrefenoll@gmail.com>
Co-authored-by: Pierre Fenoll <pierrefenoll@gmail.com>
@percivalalb percivalalb force-pushed the alb/replace-interface-w-any branch from 57b5450 to fe86b5d Compare June 16, 2024 17:51
@percivalalb percivalalb requested a review from fenollp June 16, 2024 18:06
@fenollp fenollp merged commit 7ec3129 into getkin:master Jun 18, 2024
5 checks passed
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