commit | 04b207964beb26b86edd81cbc7e8f92c3c2df7bb | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Fri Nov 08 13:02:02 2024 -0500 |
committer | Gopher Robot <gobot@golang.org> | Fri Nov 08 18:28:01 2024 +0000 |
tree | 4784e7dcba335b692bf182c75c65aaf0050dd6cf | |
parent | f66d83c29e7c4a8451c4e90bf298113efa5986a7 [diff] |
errors: make go directive explicit In modern versions of the go command, if the go directive is missing, go 1.16 is assumed. See https://go.dev/ref/mod#go-mod-file-go. Add the go directive with 1.16 explicitly, otherwise running go mod tidy (as done by the monthly tagging workflow) will initialize it with a much higher version. This module holds experimental packages for an old draft design, after all. Change-Id: I0a31a56df624f6052249122c66153b91bb321a37 Reviewed-on: https://go-review.googlesource.com/c/exp/+/626216 Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.