Skip to content

x/pkgsite: show interfaces/implementations #72904

@adonovan

Description

@adonovan

A Go user is confused as to how to find implementations of interfaces: https://bsky.app/profile/sszuecs.bsky.social/post/3lis5o4nv322u.

Google's internal package index relates each interface type to its concrete implementations (and vice versa), and each interface method to it corresponding method. This would be useful information to display in pkgsite too.

It requires a global index of methods, similar to what we build in gopls and Google's internal package index, but the ideas are familiar at this point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions