fatih / errwrap

Go tool to wrap and fix errors with the new %w verb directive
https://arslan.io
Other
371 stars 16 forks source link

errwrap ./... not working #4

Closed tmm1 closed 4 years ago

tmm1 commented 4 years ago
$ head -1 go.mod
module github.com/tmm1/myproj

$ errwrap ./...
errwrap: ./... matched no packages
fatih commented 4 years ago

Thanks for the feedback but the issue lacks a lot of context and is poorly written. It works for me (try it in https://github.com/fatih/gomodifytags repo). I'm not sure what you're expecting. Please provide a reproducible repo so I can check it. Thank you.

tmm1 commented 4 years ago

Sorry about the brevity. I was on my phone trying to log an issue quickly over the weekend.

I tried a few other projects and errwrap seems to work, but on one of my private programs I only get the "matched no packages" error message for some reason.

I tried errwrap -debug fpstv ./... but it didn't say much else:

10:33:19.737261 load [./...]
10:33:22.778641 ./... matched no packages

I'll see if I can narrow down to a simple repro.