commit | 4322f8fca5fef51561125ef77ffacdbf8189e2b3 | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Fri Sep 03 15:52:16 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Tue Sep 07 14:32:57 2021 +0000 |
tree | 8ed5926625ef1551b021b942f50b13908eb83b22 | |
parent | 71290cf8cfc29e4367da3e03b1edc70a1727b702 [diff] |
internal/postgres: change searcher signature The searcher type is changed from the type: func(db *DB, ctx context.Context, q string, limit, offset, maxResultCount int) searchResponse to: func(db *DB, ctx context.Context, q string, limit int, opts SearchOptions) searchResponse More fields will be added to SearchOptions in a later CL. For golang/go#44142 Change-Id: I96e8b81e5fe10fcf3637d420eaf723c061699225 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347609 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.