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.
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.