Closed djui closed 4 years ago
@djui I'm having the first hang you mentioned. I'm not sure what the reason is, however. What specifically is wrong with GOROOT that makes this happen?
@genexp We have forked the repo and done extensive modifications including the import loader. Since then I haven’t encountered that issue anymore. You might want to give the fork a try: https://github.com/betalo-sweden/moq
I tried running moq $(go env GOROOT)/src/database/sql/driver Driver
and it worked correctly with the latest version of moq
. Comment if you are still facing this issue.
Example 1: GOROOT
Example 2: Symlinks
Many Go tools have a problem with running them from a symlinked directory (and also e.g.
dep
). These sometimes tell the user what's wrong.moq
also has a problem with this condition but then instead just busy loops:Same from actual directory: