Hello all,

If you go to my 
module https://pkg.go.dev/github.com/seancfoley/ipaddress-go then 
everything looks fine.

when you go to a 
subfolder https://pkg.go.dev/github.com/seancfoley/ipaddress-go/ipaddr it 
things that a pseudo-version is the latest, not the correct version 1.2.0.  
When you select the correct version 
(https://pkg.go.dev/github.com/seancfoley/ipaddress-go@v1.2.0/ipaddr) there 
is a bright-red "go to latest" button to take you to a pseudo-version.

How did this happen you ask?

The go modules documentation was not clear that you cannot use normal 
versioning numbering (eg v1.0.0) if you do not put the go.mod file at the 
root if the repository. So initially I had the go.mod in the package 
ipaddr. After a lot of trial and error I realized that to use normal 
semantic versioning I had to move the go.mod, so the go.mod is now placed 
it at the root of the repo.  That left me with this problem.

I have tried everything but I cannot make that red button go away.  I filed 
a bug with pkg.go.dev and it was closed with no viable solution proposed, 
just a vague declaration to "retract" the pseudo-version and no detailed 
explanation how to retract it or where to retract it from.  I have tried 
all sorts of ways of retracting and nothing works.  I cannot retract using 
the new go mod, that does nothing.  I cannot retract using the old go mod 
in the sub-folder because any retraction creates a new pseudo-version.  
Creating proper versions never gets rid of the pseudo-version.

Any ideas?

-- 
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/65dc58c1-ed8e-4c92-bde8-f68eaa2f277dn%40googlegroups.com.

Reply via email to