Skip to content

Replace interface{} with any #7672

@aofei

Description

@aofei

@jinzhu please consider doing us a favor by running gofmt -r 'interface{} -> any' -w . at the repo's root dir. 👀

The new predeclared identifier any is an alias for the empty interface. It may be used instead of interface{}.

(from https://go.dev/doc/go1.18#generics)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions