From 3e3e77ed1dfaae01bfd8c4c709a39e229c1827bd Mon Sep 17 00:00:00 2001 From: Daniel Moran Date: Mon, 14 Jun 2021 11:07:52 -0400 Subject: [PATCH] docs: bump Go version in build-from-source docs (#21677) --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ac2cad825f..42a1fe43dc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -89,15 +89,15 @@ If you are going to be contributing back to InfluxDB please take a second to sig ### Installing Go -InfluxDB requires Go 1.15. +InfluxDB requires Go 1.16. 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). After installing gvm you can install and set the default go version by running the following: ```bash -$ gvm install go1.15 -$ gvm use go1.15 --default +$ gvm install go1.16 +$ gvm use go1.16 --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).