Skip to content

Replace interface{} with any#966

Merged
fenollp merged 6 commits intogetkin:masterfrom
percivalalb:alb/replace-interface-w-any
Jun 18, 2024
Merged

Replace interface{} with any#966
fenollp merged 6 commits intogetkin:masterfrom
percivalalb:alb/replace-interface-w-any

Conversation

@percivalalb
Copy link
Copy Markdown
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
Copy link
Copy Markdown
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
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