x/pkgsite: report whether a subpackage is a command #68939
Labels
FeatureRequest
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
pkgsite
Milestone
What is the URL of the page with the issue?
https://pkg.go.dev/golang.org/x/perf, for example.
Screenshot
What did you expect to see?
Subpackage that are commands are reported as such with a
command
chip (similar to search results / package page).What did you see instead?
Only modules are reported with a
module
chip.I'm working on https://github.com/avamsi/gobin and would love this information! :)
I currently don't process the subpackages (well, other than those that are inlined in the search results) but would love to, and if I'm not wrong, the only way to do this today is to hit the package pages for all the subpackages.
The text was updated successfully, but these errors were encountered: