qur / withmock

Automatic Go package mock generation tool
Other
71 stars 9 forks source link

Won't work with mgo #52

Open anilanar opened 8 years ago

anilanar commented 8 years ago

Not sure if related: It seems mgo has a .go file with imported but unused packages (/internal/scram/scram.go).

-debug output: ERROR(installImports:GenPkg:m.file): EOF

kingtaj commented 8 years ago

+1, encountering this error, and not using mgo. I've tried mocking several different packages and always fail with EOF

» mocktest -debug
ERROR(AddPackage:installImports:GenPkg:m.file): EOF