commit | eea9463f55e17420f530e8d8e7f33bc627dbd1e3 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Thu Aug 26 09:15:53 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Thu Aug 26 14:36:07 2021 +0000 |
tree | a0f1e00400e805b250fd55591a2015be4c3b77b9 | |
parent | 925b82e874d59e4502d7ac53421a7ed9fd88d7f6 [diff] |
internal/fetch: support latest version in modcache getter If the fsProxyModuleGetter is asked for the latest version, it finds it by looking at the versions of all the cached zips for the module. For golang/go#47780 Change-Id: I6e0b1f51c994e99bbcf3e66f40ef4c504fe48ce8 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/345273 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> 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.