Open walles opened 1 year ago
Same thing happened to me.
From help: usage: goweight [<flags>] [<packages>]
and moar is not package. Try goweight .
or goweight github.com/walles/moar
That worked, thanks!
I still think the exit diagnostics should be improved.
Rather than...
exit status 1
... maybe ...
"moar" is not a package name. Try "goweight ." in the go.mod directory and see if that works any better!
?
Tried it on https://github.com/walles/moar.
Here's what the
go.mod
file looks like: