x/pkgsite: Support symbol search within module #47843
What is the URL of the page with the issue?
What is your user agent?
Mozilla/5.0 (X11; CrOS x86_64 13982.69.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.130 Safari/537.36
What did you do?
I would like to a way to do symbol search within a single module, exposed in the UI.
(Bonus points if I could make a saved search to search multiple modules. Something like "baz (module:example.com/foo OR module:example.com/bar)").
What did you expect to see?
Some way to limit the search to the current module would be very helpful. Perhaps the search dropdown could have "Symbols" and "Symbols (this module only)".
Current package search is often desired too. This already exists via Ctrl+F, but if module search is added then package search should perhaps be surfaced in the same place in the UI as well.
What did you see instead?
The text was updated successfully, but these errors were encountered:
Does https://beta.pkg.go.dev/search?m=symbol&q=CompareAndSwapUint32+gvisor.dev%2Fgvisor address this issue? (You can type any full module path or sub-path along with the symbol)