Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Support for Generics #635

Closed
gurleensethi opened this issue Apr 15, 2022 · 2 comments
Closed

Support for Generics #635

gurleensethi opened this issue Apr 15, 2022 · 2 comments

Comments

@gurleensethi
Copy link

Requested feature
Ability to create mocks when interfaces have generics used inside them.

Why the feature is needed
When I try to generate mocks I get this error:

2022/04/15 18:38:12 Loading input failed: service/my_service.go:7:11: failed parsing returns: don't know how to parse type *ast.IndexExpr

Would appreciate this feature being supported, for now it makes the combination go1.8 and gomock unusable.

@sodul
Copy link
Contributor

sodul commented Apr 18, 2022

I think this is a duplicate of #621

@codyoss
Copy link
Member

codyoss commented Apr 24, 2022

Closing as dupe as mentioned above.

@codyoss codyoss closed this as completed Apr 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants