From 04b207964beb26b86edd81cbc7e8f92c3c2df7bb Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Fri, 8 Nov 2024 13:02:02 -0500 Subject: [PATCH] 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 Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor --- errors/go.mod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/errors/go.mod b/errors/go.mod index c2e297646..cf7058d45 100644 --- a/errors/go.mod +++ b/errors/go.mod @@ -1 +1,3 @@ module golang.org/x/exp/errors + +go 1.16