Skip to content

Go: update interface{} to any #770

@mvndaai

Description

@mvndaai

After go.1.18 you can use any and interface{} are interchangeably.

I would love the change so when I do a ctrl+F and look for styles around how interfaces should work I don't get false positives.

The style guide already prefers the use.

I would just want the examples here updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:goThe Go language

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions