From fec9833cddae1e33660b4f37fe05ea8683b10e27 Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Mon, 4 Sep 2023 09:33:54 +0100 Subject: [PATCH] Downgrade Go version requirement to 1.20 As part of the upgrade to Go 1.21, the Go toolchain now requires the `go` directive to match the maximum Go version in use in dependencies. This leads to any transitive dependency on this library to result in a requirement of the consuming project moving to Go 1.21. Although in a lot of cases this may not be as problematic, it forces consumers to migrate, which we don't need to do in this case. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index e279c6c..f4a1217 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/kataras/jwt -go 1.21 +go 1.20