commit | b4cea5a7517bdc27ed6820e897ff6779473e819c | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Thu Aug 19 09:29:11 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Thu Aug 19 16:46:36 2021 +0000 |
tree | 18a0bd239bf58d0f0a84d5370e024a4443dab93a | |
parent | 34219a32ecc362fc3e1b5f97b1e8a983fa4cf7ab [diff] |
internal: redirect relevant requests to symbolsearch mode When a user makes a single word search query containing a dot, there is a good chance that they are searching for a <package>.<symbol>. In that case, redirect the request if the <symbol> component does not match a TLD in our database. For golang/go#44142 Change-Id: I70ab0a74154b6c292fa649be6b2112f8906e291e Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/343569 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.