commit | cd2ff040b2039c720bdc9ff716b9d5d8c16e9dad | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Sep 03 11:19:25 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Sep 03 17:11:56 2021 +0000 |
tree | ca3dbdf2ad1a0fad9de0977286d331755964a361 | |
parent | f1225f37badc0434744b68838ac11d2a2c4bbc36 [diff] |
internal/frontend: refactor building SearchResult Split out the code that creates a SearchResult from a postgres.SearchResult, for testing. Add a test. Change-Id: Ia1c8b0a69661ef9e4d90f44a93beea276da486b6 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347552 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.