From: Andrew Gerrand
Date: Wed, 25 Sep 2013 04:10:49 +0000 (+1000)
Subject: doc: document installation of go.tools commands
X-Git-Tag: go1.2rc2~118
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b3caa86f91a22f1aa31ac6a6cabf3a5e88751940;p=gostls13.git
doc: document installation of go.tools commands
Fixes #5663.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13891043
---
diff --git a/doc/install-source.html b/doc/install-source.html
index eae75e0bda..3181cd7c9f 100644
--- a/doc/install-source.html
+++ b/doc/install-source.html
@@ -220,6 +220,36 @@ The document How to Write Go Code explains how to
set up a work environment in which to build and test Go code.
+
+
+
+The source code for seeral Go tools (including godoc)
+is kept in the go.tools repository.
+To install all of them, run the go
get
command:
+
+
+
+$ go get code.google.com/p/go.tools/cmd/...
+
+
+
+Or if you just want to install a specific command (godoc
in this case):
+
+
+
+$ go get code.google.com/p/go.tools/cmd/godoc
+
+
+
+To install these tools, the go
get
command requires
+that Mercurial be installed locally.
+
+
+
+You must also have a workspace (GOPATH
) set up;
+see How to Write Go Code for the details.
+
+