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

Sort package results in the same order as pkg.go.dev (or configurable setting) #6

Open
ian-h-chamberlain opened this issue Nov 30, 2022 · 0 comments

Comments

@ian-h-chamberlain
Copy link

https://pkg.go.dev tends to sort packages by the number of other packages that import them, which is a decent metric for how popular/important a package is (although there is an open issue for giving more options: golang/go#36952)

However, this extension seems to use a different order (lexicographic sorting, maybe?). I find that often, I end up clicking through to a fork or otherwise non-useful package instead of the one I expect, which would be the top result if I searched directly on https://pkg.go.dev.

One example I run into frequently is github.com/spf13/afero:

Screen Shot 2022-11-30 at 10 38 22

vs

Screen Shot 2022-11-30 at 10 38 33

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

No branches or pull requests

1 participant