-
Notifications
You must be signed in to change notification settings - Fork 415
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
generated mock incorrectly imports package ending in .go #249
Comments
That package is named very oddly. I guess this is an edge case we probably want to fix. Mind sending in a PR? |
Hi we also ran into this issue. We're using the NATS message queue and they recently renamed their repos to https://github.com/nats-io/nats.go and https://github.com/nats-io/stan.go. Now when we run mockery, it adds the import Besides fixing the bug, an Thanks for an otherwise awesome tool ❤️ |
I think an |
With the following package in internal/mockerytest/mockerytest.go
Generating a mock for this interface does not compile. In the code below,
import stan "github.com/nats-io/"
should beimport stan "github.com/nats-io/stan.go"
The text was updated successfully, but these errors were encountered: