Skip to content

Rename any to pbAny#78

Merged
stefanberger merged 2 commits intocontainerd:masterfrom
kzys:any-rename
Apr 22, 2022
Merged

Rename any to pbAny#78
stefanberger merged 2 commits intocontainerd:masterfrom
kzys:any-rename

Conversation

@kzys
Copy link
Copy Markdown
Member

@kzys kzys commented Apr 21, 2022

Go 1.18 introduces any as an alias for the empty interface. While having
our own any doesn't confuse Go compiler, it would confuse humans.

Signed-off-by: Kazuyoshi Kato [email protected]

@kzys kzys force-pushed the any-rename branch 2 times, most recently from d80dbcf to 5bec974 Compare April 21, 2022 23:20
Kazuyoshi Kato added 2 commits April 21, 2022 23:28
Signed-off-by: Kazuyoshi Kato <[email protected]>
Go 1.18 introduces any as an alias for the empty interface. While having
our own any doesn't confuse Go compiler, it would confuse humans.

Signed-off-by: Kazuyoshi Kato <[email protected]>
@kzys kzys changed the title Test with Go 1.18 Rename any to pbAny Apr 21, 2022
@kzys kzys marked this pull request as ready for review April 21, 2022 23:37
@stefanberger
Copy link
Copy Markdown
Contributor

LGTM

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