commit | c8206844db5cfbc8a3c446043e24d7bf17179c0a | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Fri Sep 03 12:23:24 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Fri Sep 03 17:14:54 2021 +0000 |
tree | b339d6f9ee28ebbec0bcda1168f5b6d01a910ba1 | |
parent | aaa93e6466f8cf9e3148640869a050ef58051fb8 [diff] |
internal/frontend: set package search mode in query When a search request is made in package mode, set m=package so that we know to keep the user in package mode. For golang/go#44142 Change-Id: I1ab065c1940c37ea6a74cfe8b0e90b72bf4309d6 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347589 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.