This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 645
impl not generating stubs from interface #1769
Labels
Comments
Can you try running |
Sorry, I totally missed that. You are right, passing the cwd when spawning the process that runs Thanks for reporting and the code samples! |
btw from what I could understand this issue only occurs when inside a folder named "internal". Is that right? |
@ramya-rao-a, yes, problem occurs when the interface located in the |
The fix for this issue is now out in the latest update (0.6.85) to the Go extension. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Cannot stub interface: unrecognized interface: user.UserRepository
go version go1.10.2 linux/amd64
Extension version 0.6.84
, and i also tried0.6.85-Beta1
Steps to Reproduce:
Go: Generate interface stubs
m MySQLUserRepository user.UserRepository
Cannot stub interface: unrecognized interface: user.UserRepository
File structure is similar to this repo, except all located in
internal
folder inside of my package.If I run in terminal
impl 'm MySQLUserRepository' user.UserRepository
, it works:Thanks for your attention!
The text was updated successfully, but these errors were encountered: