Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/pkgsite: better discoverability for extension interfaces #44301

Open
josharian opened this issue Feb 16, 2021 · 1 comment
Open

x/pkgsite: better discoverability for extension interfaces #44301

josharian opened this issue Feb 16, 2021 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite

Comments

@josharian
Copy link
Contributor

I was reading https://pkg.go.dev/io/fs, trying to find all the extension interfaces available for fs.FS. I had to scan the entire package API. It would have been even harder had the package not used a consistent naming convention.

Now that the standard library is using it, I suspect we'll see increasing uptake of the extension pattern. It'd be nice if pkg.go.dev could recognize it and surface extension interfaces, either through different grouping or through an explicit list at the base interface type.

@gopherbot gopherbot added this to the Unreleased milestone Feb 16, 2021
@jba jba added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Feb 16, 2021
@jba jba modified the milestones: Unreleased, pkgsite/unplanned Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite
Projects
None yet
Development

No branches or pull requests

4 participants
@josharian @gopherbot @jba and others