gosrc: Do not exclude cmd/... from standard packages.
This change makes it possible to view documentation for all standard Go
packages, including commands and other packages that match import path
That may slightly "pollute" the list of standard Go packages at
https://godoc.org/-/go. But that page is called "Go Standard Packages",
not "Go Standard Libraries", so it's valid to include all standard
packages, including commands, internal, and vendored packages in GOROOT
there. Still, it's likely more useful to rework that page to exclude
these. But it's best to do that separately in a followup issue/CL.
Reviewed-by: Tuo Shan <firstname.lastname@example.org>
2 files changed