commit | 1800abcbaa0448b2bf0a4d4404eb0bc01ff3210d | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Thu Sep 09 10:27:36 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Thu Sep 09 20:51:42 2021 +0000 |
tree | c4e3a6df184e09c94ec83117f9530a9ca51c0fe9 | |
parent | ee2ac5a40eb4aed14f12ddfa57da13bafa3eecba [diff] |
internal/frontend: add package tab query If a user searches for #DB, they will always be brought to the symbols tab. However, if they click on the packages tab from that page, we want them to see something useful. As a result, the packages tab now has href set to: /search?m=package&q=<query-stripped-of-filters. For golang/go#44142 Change-Id: Iff7f3d8b3f8752a40855b816cc94354b0f7ea93f Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/348814 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@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.