commit | 5e769f62846dcc94c3472c43335b72082a078c84 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Thu Aug 19 10:30:13 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Thu Aug 19 16:18:16 2021 +0000 |
tree | d02867b09960988e54ce529dcb5a70e2c6261a60 | |
parent | f4073fdff0bfeacd0dcc909bce67268393f55870 [diff] |
internal/localdatasource: use getters Instead of loading a list of modules initially, a local datasource now takes a list of ModuleGetters, which are called on demand when a module is requested. For golang/go#47780 Change-Id: Ica3cc6d47de01ec78c451c0ef54b9ba0e0c5a96e Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/343591 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.