|author||Dung Le <firstname.lastname@example.org>||Mon Nov 14 17:46:48 2022 -0500|
|committer||Dylan Le <email@example.com>||Wed Nov 16 15:57:44 2022 +0000|
static: add module versions with an inline mod file when sharing package examples For all non-standard library packages, when their examples in the docs are shared, their code will be appended with an inline mod file that specifies the module version of the package. Change-Id: Id242c3cd3515d7f5c2713d37be8b88e49d3fa8d0 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/450475 Run-TryBot: Dylan Le <firstname.lastname@example.org> TryBot-Result: kokoro <email@example.com> Reviewed-by: Jamal Carvalho <firstname.lastname@example.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.
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.
We would love your help!
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.