You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
I am trying to execute mockgen in source mode against some code which contains generics.
I the following error:
2022/07/27 17:19:21 Loading input failed: don't know how to mock method of type *ast.IndexListExpr
repository/repository.go:3: running "mockgen": exit status 1
My guess is that I need to use a fork which contains support for generics. As such, I have tried to replace gomock with the following branch in my go.mod:
I am trying to execute
mockgen
in source mode against some code which contains generics.I the following error:
My guess is that I need to use a fork which contains support for generics. As such, I have tried to replace gomock with the following branch in my
go.mod
:But
mockgen
still errors out. I think I may not be installing the right version of mockgen. My generate executes the following:Any help would be appreciated. I am not sure if my problem is one of managing a forked go module properly or with mockgen itself.
Thank you.
The text was updated successfully, but these errors were encountered: