commit | 1e6b66fc801d502741e1b46fd0ce4525071dd2ae | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Thu Sep 02 16:50:31 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Sep 03 11:34:11 2021 +0000 |
tree | 674d5cbc0748ded47d07b248cf0877b85dd9fd35 | |
parent | d30812f77f37da9f96dffe5b3af834ab4f86031e [diff] |
internal/stdlib: support opening local repo By calling stdlib.SetGoRepoPath, users can point to a local clone of the Go repo for stdlib to use. This can save download time. The intent is to use it for cmd/pkgsite. Change-Id: I20d89f283b7b0b4f333599846eee1038d09cb50e Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347404 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Jamal Carvalho <jamal@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.