Skip to content

Parser for mockgen should support type alias any. #298

@tyzerrr

Description

@tyzerrr

Requested feature

Make parser for mockgen support type alias, any for interface{}.

Why the feature is needed

Since v1.18, golang support any type alias for interface{}.
Some linters and tools like modernize recommend to use any.
We believe the mockgen parser needs to support the any alias so that we can continue using uber-go/mock alongside these tools.

I want to try this feature develop, could you assign me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions