commit | 834d7463a882c2c7275c74035dd6ef8399c00858 | [log] [tgz] |
---|---|---|
author | Dung Le <dungtuanle@google.com> | Thu Oct 20 12:22:37 2022 -0400 |
committer | Dylan Le <dungtuanle@google.com> | Tue Oct 25 16:50:22 2022 +0000 |
tree | b7ec13615d2d5f3466d7398e747b64fcb0848c8e | |
parent | fee6a90f6d050d5ecfb48f9786b224a8cb8ba71a [diff] |
static: add module versions with an inline mod file to run package examples For all non-standard library packages, their examples in the docs are ran using the version as the docs by adding an inline mod file that specifies the module version of the package. For golang/go#50769 Change-Id: I539260147aedade112a2e812c5ea4d19235774c2 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/444455 Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Run-TryBot: Dylan Le <dungtuanle@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.
Pkgsite requires Go 1.19 to run. The last commit that works with Go 1.18 is 9ffe8b928e4fbd3ff7dcf984254629a47f8b6e63. The last commit that works with Go 1.17 is 4d836c6a652cde92f433967680dfd6171a91ec12.
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 pkg.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.