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: package search doesn't find main package with matching name #70459

Open
ComaVN opened this issue Nov 20, 2024 · 3 comments
Open

x/pkgsite: package search doesn't find main package with matching name #70459

ComaVN opened this issue Nov 20, 2024 · 3 comments
Assignees
Labels
pkgsite/search Issues related to pkg.go.dev search functionality pkgsite
Milestone

Comments

@ComaVN
Copy link

ComaVN commented Nov 20, 2024

What is the URL of the page with the issue?

https://pkg.go.dev/search?q=multee

What is your user agent?

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Screenshot

image

What did you do?

I published my package multee.

What did you see happen?

pkg.go.dev doesn't show the main package when searching for "multee", but a sub-package (an alternative implementation that I kept around for benchmarking and testing)

What did you expect to see?

I expect to see the search results show the main package, not a "random" sub package.

@ComaVN ComaVN added the pkgsite label Nov 20, 2024
@gopherbot gopherbot added this to the Unreleased milestone Nov 20, 2024
@gabyhelp
Copy link

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@ComaVN
Copy link
Author

ComaVN commented Nov 20, 2024

Some context: in the v0.0.1 version, the sub-package with the alt implementation was also named multee, which I fixed in v0.0.3

If I search for the module in a different way, eg. "multiplexer for io.Readers", it does show the main package.

@adonovan
Copy link
Member

@jba

@jba jba self-assigned this Nov 20, 2024
@seankhliao seankhliao changed the title x/pkgsite: package search finding the wrong subpackage x/pkgsite: package search doesn't find main package with matching name Nov 20, 2024
@seankhliao seankhliao added the pkgsite/search Issues related to pkg.go.dev search functionality label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkgsite/search Issues related to pkg.go.dev search functionality pkgsite
Projects
None yet
Development

No branches or pull requests

6 participants