commit | 7c857cb7e953af2a1e1492e400cb4104da732f07 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Sat Sep 04 05:23:12 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Sep 07 14:03:19 2021 +0000 |
tree | 5fc8a80dd44a58d623aad884efd1904dd9fc89e4 | |
parent | 52c9ed16737fe8b27ed8016b9ae97cedac1bab1b [diff] |
internal/fetch: get source info from module getter Make it the ModuleGetter's responsibility to provide links to source files, instead of passing around a separate source.Client. This will allow getters that fetch from disk to serve those local files. For golang/go#47982 Change-Id: I6c7cd7890b03ad61d9410850a510c1c9a63f1c9a Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347749 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.