From f35edf848bf0f2b9cf411833c60f72cc49915487 Mon Sep 17 00:00:00 2001 From: Zvonimir Pavlinovic Date: Tue, 18 Jun 2024 09:47:38 +0000 Subject: [PATCH] all: require go1.21 Otherwise, code won't compile due to the use of slices package. Fixes golang/go#68034 Change-Id: Id6fb27d2f213e5a665a2bcd6d07b15f80702975b Reviewed-on: https://go-review.googlesource.com/c/vuln/+/593235 Reviewed-by: Mauri de Souza Meneguzzo LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Cottrell --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 1a349f8..05530d0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module golang.org/x/vuln -go 1.18 +go 1.21 require ( github.com/google/go-cmdtest v0.4.1-0.20220921163831-55ab3332a786