commit | aaa93e6466f8cf9e3148640869a050ef58051fb8 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Sep 03 11:42:58 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Sep 03 17:12:01 2021 +0000 |
tree | f450eab194cc7d71ae1efacd0e8d2ff9dfb4ffc0 | |
parent | cd2ff040b2039c720bdc9ff716b9d5d8c16e9dad [diff] |
internal/{frontend,middleware}: group import count in search - Add a middleware that extracts the preferred i18n information from the client. - Use that information to format the imported-by count displayed in search. Change-Id: Id6676c135cb6b094c53a039206ef4702256120d6 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347553 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@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.