New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create mock, getting "No packages found" error #98
Comments
yep, not work for vendored pkgs as well |
it does not work at all with 1.12 with GOPATH even for not vendored pkgs |
I ran into this same thing, and found that updating my copy of
I opened #101 to add a |
@svera are you still able to reproduce the issue with the latest version of moq? Apologies for responding so late. |
Closing as stale. |
I'm trying to create mock for the following interface:
Inside the interface dir (located at
pkg/vcs/vcs.go
) I runmoq -out vcs_mock.go . VCS
just to get the following errorCouldn't load source package: No packages found
. I've also tried using the go generator with the same results.I'm using latest Go version (12.2) with the latest code in master (6cfb055).
The text was updated successfully, but these errors were encountered: