]> Cypherpunks repositories - gostls13.git/commit
doc/install.html: streamline the “Test your installation” step and make it module...
authorBryan C. Mills <bcmills@google.com>
Wed, 5 Feb 2020 15:22:07 +0000 (10:22 -0500)
committerBryan C. Mills <bcmills@google.com>
Wed, 5 Feb 2020 18:27:48 +0000 (18:27 +0000)
commit702226f93321a6cc9c90c657c589c869c70872fc
treee62b1dce2b12707e61c9c3bd90c6a1061c6234bb
parentffd4e32885c4fed50dd0420440b8e58bff32adce
doc/install.html: streamline the “Test your installation” step and make it module-agnostic

In CL 199417, we updated “How to Write Go Code” to give a basic
introduction to modules and to include module-mode commands.
However, most new users will end up reading “Getting Started”
(doc/install.html) before “How to Write Go Code”, and we forgot to
update the handful of commands there for module mode.

Before this change, the “Test your installation” section also covered
quite a few operations beoyond merely testing the installation: it
included setting up a GOPATH, building a binary, and installing and
cleaning binaries. Those are valuable operations to learn, but they
arguably belong in “How to Write Go Code”, not “Test your
installation” — and having all that extra detail in the install
instructions may well discourage folks from further essential reading.

Rather than updating all of those operations here, I've removed them.
A companion CL will update “How to Write Go Code” to ensure that it
mentions GOPATH (as the location of the module cache and the default
install location for binaries) and 'go clean -i'.

Updates #37042

Change-Id: I157f21ccbe3896575fa1115dc821abf6c71ed15e
Reviewed-on: https://go-review.googlesource.com/c/go/+/217840
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Tyler Bui-Palsulich <tbp@google.com>
doc/install.html