Commit 64969c8e authored by Kevin Burke's avatar Kevin Burke Committed by Brad Fitzpatrick

doc: update suggested Go installation version

Previously the docs suggested downloading 1.7.2 (no good) or 1.7.3 (has
security flaw).

Change-Id: Ifabe85908df8d6591c0957ef4bb1b800fc145793
Reviewed-on: https://go-review.googlesource.com/33808Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent f52e2058
...@@ -212,7 +212,7 @@ To build without <code>cgo</code>, set the environment variable ...@@ -212,7 +212,7 @@ To build without <code>cgo</code>, set the environment variable
Change to the directory that will be its parent Change to the directory that will be its parent
and make sure the <code>go</code> directory does not exist. and make sure the <code>go</code> directory does not exist.
Then clone the repository and check out the latest release tag Then clone the repository and check out the latest release tag
(<code class="versionTag">go1.7.2</code>, for example):</p> (<code class="versionTag">go1.7.4</code>, for example):</p>
<pre> <pre>
$ git clone https://go.googlesource.com/go $ git clone https://go.googlesource.com/go
...@@ -329,7 +329,7 @@ You just need to do a little more setup. ...@@ -329,7 +329,7 @@ You just need to do a little more setup.
</p> </p>
<p> <p>
The <a href="/doc/code.html">How to Write Go Code</a> document The <a href="/doc/code.html">How to Write Go Code</a> document
provides <b>essential setup instructions</b> for using the Go tools. provides <b>essential setup instructions</b> for using the Go tools.
</p> </p>
...@@ -355,7 +355,7 @@ $ go get golang.org/x/tools/cmd/godoc ...@@ -355,7 +355,7 @@ $ go get golang.org/x/tools/cmd/godoc
</pre> </pre>
<p> <p>
To install these tools, the <code>go</code> <code>get</code> command requires To install these tools, the <code>go</code> <code>get</code> command requires
that <a href="#git">Git</a> be installed locally. that <a href="#git">Git</a> be installed locally.
</p> </p>
...@@ -400,7 +400,7 @@ New releases are announced on the ...@@ -400,7 +400,7 @@ New releases are announced on the
<a href="//groups.google.com/group/golang-announce">golang-announce</a> <a href="//groups.google.com/group/golang-announce">golang-announce</a>
mailing list. mailing list.
Each announcement mentions the latest release tag, for instance, Each announcement mentions the latest release tag, for instance,
<code class="versionTag">go1.7.2</code>. <code class="versionTag">go1.7.4</code>.
</p> </p>
<p> <p>
...@@ -443,7 +443,7 @@ The value assumed by installed binaries and scripts when ...@@ -443,7 +443,7 @@ The value assumed by installed binaries and scripts when
<code>$GOROOT</code> is not set explicitly. <code>$GOROOT</code> is not set explicitly.
It defaults to the value of <code>$GOROOT</code>. It defaults to the value of <code>$GOROOT</code>.
If you want to build the Go tree in one location If you want to build the Go tree in one location
but move it elsewhere after the build, set but move it elsewhere after the build, set
<code>$GOROOT_FINAL</code> to the eventual location. <code>$GOROOT_FINAL</code> to the eventual location.
</p> </p>
...@@ -566,7 +566,7 @@ architecture. ...@@ -566,7 +566,7 @@ architecture.
Valid choices are the same as for <code>$GOOS</code> and Valid choices are the same as for <code>$GOOS</code> and
<code>$GOARCH</code>, listed above. <code>$GOARCH</code>, listed above.
The specified values must be compatible with the local system. The specified values must be compatible with the local system.
For example, you should not set <code>$GOHOSTARCH</code> to For example, you should not set <code>$GOHOSTARCH</code> to
<code>arm</code> on an x86 system. <code>arm</code> on an x86 system.
</p> </p>
...@@ -627,7 +627,7 @@ not <code>amd64</code>. ...@@ -627,7 +627,7 @@ not <code>amd64</code>.
<p> <p>
If you choose to override the defaults, If you choose to override the defaults,
set these variables in your shell profile (<code>$HOME/.bashrc</code>, set these variables in your shell profile (<code>$HOME/.bashrc</code>,
<code>$HOME/.profile</code>, or equivalent). The settings might look <code>$HOME/.profile</code>, or equivalent). The settings might look
something like this: something like this:
</p> </p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment