commit | e10ae1b4500c7835b671ff5f24e2a88401e50aed | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Tue Aug 10 13:56:26 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Wed Aug 11 17:14:02 2021 +0000 |
tree | 686ebc836f27a50a78e7233abaa1840ed02302b2 | |
parent | 6e40965aca9b9861582e2e4acec929b9496e779c [diff] |
internal/frontend: support search mode prefixes When a search query contains a "package: " or "identifier: " prefix, always default to that search mode, regardless of the `m=<mode>` query param that is set. For golang/go#47320 For golang/go#44142 Change-Id: I412772fe264e25a3cb79362eaa4ba992fe273beb Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/341176 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
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.