From 5d56a6fc75e8104e222a912caee61b1f0376b556 Mon Sep 17 00:00:00 2001 From: Bence Ferdinandy Date: Thu, 11 Jul 2024 11:34:19 +0200 Subject: go: bump minimal version to 1.21 and handle deprecations Go 1.18 is already EOL. go-maildir v0.5.0 requires go 1.20 at least. Since go 1.20 is also EOL, bump the minimum required go version to the first still supported version which is 1.21. Go 1.20 deprecated Seed and Read in math/rand. Update the code accordingly. Changelog-deprecated: Support for go 1.20 and older. Signed-off-by: Bence Ferdinandy Acked-by: Robin Jarry --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 2c813b39..f78ab9c1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module git.sr.ht/~rjarry/aerc -go 1.18 +go 1.21 require ( git.sr.ht/~rjarry/go-opt v1.4.0 -- cgit