From 6219f98e1c6aaeb1059a8fbf7071cb7f3b0e2058 Mon Sep 17 00:00:00 2001 From: Jeffrey Smith II Date: Tue, 30 May 2023 18:00:08 -0400 Subject: [PATCH] chore: Update the go version required (#24217) --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2de5777dbf..3a841b9ef3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -108,7 +108,7 @@ Before you contribute to InfluxDB, please sign our [Individual Contributor Licen ### Install Go -InfluxDB requires Go 1.18. +InfluxDB requires Go 1.20. At InfluxData we find `gvm`, a Go version manager, useful for installing Go. For instructions on how to install it see [the gvm page on github](https://github.com/moovweb/gvm). @@ -116,8 +116,8 @@ For instructions on how to install it see [the gvm page on github](https://githu After installing `gvm` you can install and set the default Go version by running the following: ```bash -$ gvm install go1.18 -$ gvm use go1.18 --default +$ gvm install go1.20 +$ gvm use go1.20 --default ``` InfluxDB requires Go module support. Set `GO111MODULE=on` or build the project outside of your `GOPATH` for it to succeed. For information about modules, please refer to the [wiki](https://github.com/golang/go/wiki/Modules).