Skip to content

Commit 04b2079

Browse files
dmitshurgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent f66d83c commit 04b2079

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

errors/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module golang.org/x/exp/errors
2+
3+
go 1.16

0 commit comments

Comments
 (0)