From cf9529c1af026ce235db8ed55f20beddfd6d2e66 Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Mon, 4 Sep 2023 09:36:05 +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 +- go.sum | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 2eae4f5fb..b0c7a654e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/iris-contrib/httpexpect/v2 -go 1.21 +go 1.20 require ( github.com/ajg/form v1.5.1 diff --git a/go.sum b/go.sum index 2177712ac..30376153a 100644 --- a/go.sum +++ b/go.sum @@ -114,7 +114,6 @@ golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= -golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20201211185031-d93e913c1a58/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=