db icon indicating copy to clipboard operation
db copied to clipboard

loading module retractions

Open daniel-cohere opened this issue 2 years ago • 1 comments

Hi in Goland when fetching dependencies it runs:

go list -json -m -u -mod=readonly all

and for me, is erroring out via:

go: loading module retractions for upper.io/[email protected]+incompatible: reading upper.io/db.v3/go.mod at revision v1.0.2: unknown revision v1.0.2

I'm fairly new to Golang but my understanding is that incompatible versions do not have a go.mod which is where retractions are listed (can they be listed somewhere else)? I'm curious if this is an issue with the module index? How is go finding retractions? I noticed that the highest v1 tag is v1.0.1 in the repository but I have no clue where v1.0.2 is coming from.

daniel-cohere avatar Oct 16 '23 21:10 daniel-cohere

@daniel-cohere can you try using v4 import path?

"github.com/upper/db/v4"

xiam avatar Nov 05 '23 14:11 xiam