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

Comments

@josharian
Copy link
Contributor

@josharian josharian commented Feb 16, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
@josharian @gopherbot @jba and others