Skip to content

x/pkgsite: report whether a subpackage is a command #68939

Open
@avamsi

Description

What is the URL of the page with the issue?

https://pkg.go.dev/golang.org/x/perf, for example.

Screenshot

image

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.

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.FixPendingIssues that have a fix which has not yet been reviewed or submitted.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions