Closed treyburn closed 1 year ago
Thanks for catching this! Would you like to see if all the output related to a generic surrogate interfaces matches your expectations in #46? You can see this comment specifically for the entire generated output.
Thanks for the super quick turn around on that one! I'll be sure to take a look at this tonight
Pull your branch and messed around with it - working perfectly for surrogates and generics for me. Thank you!
Perhaps I am missing a command line arg - but I do not see anything in the documentation that addresses this.
Using
go-mockgen@v1.3.7
I see the following error related to generics and surrogate interfaces where the surrogate interface does not contain the required type parameter.Using the following code and go:generate directive:
The resulting output for the surrogate interface is as follows:
The expected output would be: