Closed nawa closed 6 years ago
I'm having this same issue. Would love some guidance on a workaround or status of a fix.
@vail130 The workaround is to fix it manually
I opened a PR with a fix, and then found another PR already opened with a fix. And then I switched to pegomock, which works :)
This has been fixed by #164.
sample project structure is
interface.go
contains code:I want to generate mock of
Interface
in themock_data
package with next commandAs a result I get inconsistent
MockInterface
whereParamType
andReturnType
aren't imported. More detailed example here https://github.com/nawa/gomocktst/blob/master/mock_data/interface_mock.go#L36Is it a bug, or I do something wrong?