commit | 98a9857bdef7b04176071ced9df71696cd7bf0a2 | [log] [tgz] |
---|---|---|
author | Jamal Carvalho <jamal@golang.org> | Mon Oct 17 16:49:27 2022 +0000 |
committer | Jamal Carvalho <jamal@golang.org> | Wed Oct 19 15:15:06 2022 +0000 |
tree | 0a1d2e181d41d692b7ca5d94f5eb57b2077bb24f | |
parent | 9b04e6a23080dc2cb1159b4666d1a3c886774001 [diff] |
internal/frontend: use frontend.searchMode to determine route tag The search mode is detected automatically when it is not set by the client. This ensures that all searches are correctly tagged when coming from the homepage where the mode is not explictly set. Change-Id: I89954e890175de8cff7be2e8ef773d565c6b845c Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/443338 Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.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.
Pkgsite requires Go 1.19 to run. The last commit that works with Go 1.18 is 9ffe8b928e4fbd3ff7dcf984254629a47f8b6e63. The last commit that works with Go 1.17 is 4d836c6a652cde92f433967680dfd6171a91ec12.
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 pkg.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.