My go.* files have gotten into a situation where `go list -mod=mod -u
-m -json all` gives an error:

$ go list -mod=mod -u -m -json all
go list -m: loading module retractions for
github.com/juju/utils@v0.0.0-20200116185830-d40c2fe10647: no matching
versions for query "latest"

If I don't run `go mod tidy` then my current go.* files work just fine.

Here's a gist the reproduces the problem:
https://gist.github.com/tlimoncelli/1d13250263cba3e330b3154f2b6f94b9

I've read the blog posts and docs about Go Modules but this one has me baffled.

The workaround is to never run `go mod tidy` but that's not a great solution.

Any suggestions of how to fix this or even how to go about researching it?

Thanks!
Tom

-- 
Blog:  https://www.yesthatblog.com/

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAHVFxg%3DVjX27FY0_dxR84cUw1_brqOboxNXdSnYYvvP3HSrpuw%40mail.gmail.com.

Reply via email to