You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pkg.go.dev shows the "latest" version of a module, which is defined in https://golang.org/cmd/go/#hdr-Module_queries as the latest available tagged version, or else the underlying source repository's latest untagged revision.
In contrast, godoc.org shows the version of documentation at master, since it does not support modules.
As @myitcv mentioned, we are working on providing better support for viewing documentation at master for pkg.go.dev (#36811). In the meantime, you can use this workaround to view the documentation at master for godoc.org/github.com/docker/docker/client.
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/docker/docker/client?tab=doc
What is your user agent?
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36
Screenshot
What did you do?
Load the page
What did you expect to see?
Up to date docs
What did you see instead?
Docs from the 2017 version where as godoc.org seems correct and has the NewClientWithOpts constructor e.g.
https://godoc.org/github.com/docker/docker/client#NewClientWithOpts
The text was updated successfully, but these errors were encountered: