From 6c7373af6643f4f75b9962a5a7e59e09687295e1 Mon Sep 17 00:00:00 2001 From: Benjamin Bennett Date: Fri, 8 Sep 2023 10:03:50 +0100 Subject: [PATCH] all: Update Go Module to Go 1.20 (#356) --- .changes/unreleased/NOTES-20230908-100319.yaml | 6 ++++++ README.md | 2 +- go.mod | 2 +- tools/go.mod | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .changes/unreleased/NOTES-20230908-100319.yaml diff --git a/.changes/unreleased/NOTES-20230908-100319.yaml b/.changes/unreleased/NOTES-20230908-100319.yaml new file mode 100644 index 00000000..2e5b8bea --- /dev/null +++ b/.changes/unreleased/NOTES-20230908-100319.yaml @@ -0,0 +1,6 @@ +kind: NOTES +body: 'all: This Go module has been updated to Go 1.20 per the [Go support policy](https://golang.org/doc/devel/release.html#policy). + Any consumers building on earlier Go versions may experience errors.' +time: 2023-09-08T10:03:19.613001+01:00 +custom: + Issue: "357" diff --git a/README.md b/README.md index ddd97067..127259e7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The DNS provider supports resources that perform DNS updates ([RFC 2136](https:/ ## Requirements * [Terraform](https://www.terraform.io/downloads) -* [Go](https://go.dev/doc/install) (1.19) +* [Go](https://go.dev/doc/install) (1.20) * [GNU Make](https://www.gnu.org/software/make/) * [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional) diff --git a/go.mod b/go.mod index 8adb6605..835ae5ba 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hashicorp/terraform-provider-dns -go 1.19 +go 1.20 require ( github.com/bodgit/tsig v1.2.2 diff --git a/tools/go.mod b/tools/go.mod index 4ad28225..0fa655d1 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module tools -go 1.19 +go 1.20 require ( github.com/hashicorp/copywrite v0.16.4