gomodule / redigo

Go client for Redis
Apache License 2.0
9.76k stars 1.25k forks source link

outdated information on pkg.dev.go #602

Closed pabigot closed 2 years ago

pabigot commented 2 years ago

While the current version of this package can be found on pkg.go.dev, if you go to the subdirectory link where all the documentation is, the upper left corner shows the version and a red background link "Go to latest".

That link takes one to this which is v1.7.1, and is very much out of date. (In fact, that the one I found first, and it was only while researching for this issue that I stumbled upon the current one.)

I don't know if anything can be done about this. Possibly a support request per https://pkg.go.dev/about#removing-a-package from a maintainer of this project would help: it may be that removing the separate nested version of the package from the repository would eliminate the bad link; or it may be a "feature" of multiple packages in a single repository. Though influxdb has a similar multi-package layout without these problems.

stevenh commented 2 years ago

Thanks for flagging @pabigot that does look like a bug in pkg.go.dev.

stevenh commented 2 years ago

Fixed by https://github.com/gomodule/redigo/pull/604