From f0a85350e74e059a053bd6f16c2ec51a0e664bf5 Mon Sep 17 00:00:00 2001
From: Andrew Gerrand go
tool,
+Subscribe to the +golang-announce +mailing list to be notified when a new stable version of Go is released. +
See Effective Go for tips on writing @@ -596,3 +602,21 @@ proper. Visit the documentation page for a set of in-depth articles about the Go language and its libraries and tools.
+ + +
+For real-time help, ask the helpful gophers in #go-nuts
on the
+Freenode IRC server.
+
+The official mailing list for discussion of the Go language is +Go Nuts. +
+ ++Report bugs using the +Go issue tracker. +
diff --git a/doc/install-source.html b/doc/install-source.html index 59d984fd38..b99360c71c 100644 --- a/doc/install-source.html +++ b/doc/install-source.html @@ -216,10 +216,23 @@ If you see the "hello, world" message then Go is installed correctly.-The document How to Write Go Code explains how to -set up a work environment in which to build and test Go code. +You're almost done. +You just need to do a little more setup.
++ +How to Write Go Code +Learn how to set up and use the Go tools + +
+ ++The How to Write Go Code document +provides essential setup instructions for using the Go tools. +
+ +diff --git a/doc/install.html b/doc/install.html index 02260fe783..4211ba1947 100644 --- a/doc/install.html +++ b/doc/install.html @@ -13,27 +13,22 @@
-Click the link above to visit the -Go project's downloads page -and select the binary distribution that matches your operating system and -processor architecture. -
- -
-Official binary distributions are available for the FreeBSD, Linux, Mac OS X
-(Snow Leopard, Lion, and Mountain Lion), NetBSD, and Windows operating systems
-and the 32-bit (386
) and 64-bit (amd64
) x86 processor
-architectures.
+Official binary
+distributions are available for the FreeBSD, Linux, Mac OS X (Snow Leopard
+and above), and Windows operating systems and the 32-bit (386
) and
+64-bit (amd64
) x86 processor architectures.
If a binary distribution is not available for your combination of operating -system and architecture you may want to try +system and architecture, try installing from source or installing gccgo instead of gc.
+
The gc
compiler supports the following operating systems and
architectures. Please ensure your system meets these requirements before
@@ -53,7 +48,6 @@ proceeding. If your OS or architecture is not on the list, it's possible that
@@ -65,41 +59,20 @@ installed Xcode 4.3+, you can install it from the Components tab of the Downloads preferences panel.
-
-The Go binary distributions assume they will be installed in
-/usr/local/go
(or c:\Go
under Windows),
-but it is possible to install them in a different
-location. If you do this, you will need to set the GOROOT
-environment variable to that directory when using the Go tools.
-
-For example, if you installed Go to your home directory you should add the
-following commands to $HOME/.profile
:
-
-export GOROOT=$HOME/go -export PATH=$PATH:$GOROOT/bin -- -
-Windows users should read the section about setting -environment variables under Windows. -
-If you are upgrading from an older version of Go you must first remove the existing version. +
+ +
-Extract the archive
-into /usr/local
, creating a Go tree in /usr/local/go
.
-For example:
+Download the archive
+and extract it into /usr/local
, creating a Go tree in
+/usr/local/go
. For example:
@@ -125,11 +98,36 @@ variable. You can do this by adding this line to your /etc/profile
export PATH=$PATH:/usr/local/go/bin
+
+The Go binary distributions assume they will be installed in
+/usr/local/go
(or c:\Go
under Windows),
+but it is possible to install the Go tools to a different location.
+In this case you must set the GOROOT
environment variable
+to point to the directory in which it was installed.
+
+For example, if you installed Go to your home directory you should add the
+following commands to $HOME/.profile
:
+
+export GOROOT=$HOME/go +export PATH=$PATH:$GOROOT/bin ++ +
+Note: GOROOT
must be set only when installing to a custom
+location.
+
-Open the package file
-and follow the prompts to install the Go tools.
+Download the package file,
+open it, and follow the prompts to install the Go tools.
The package installs the Go distribution to /usr/local/go
.
-Extract the zip file
-to the directory of your choice (we suggest c:\Go
).
+Open the MSI file
+and follow the prompts to install the Go tools.
+By default, the installer puts the Go distribution in c:\Go
.
-If you chose a directory other than c:\Go
, you must set
-the GOROOT
environment variable to your chosen path.
+The installer should put the c:\Go\bin
directory in your
+PATH
environment variable. You may need to restart any open
+command prompts for the change to take effect.
-Add the bin
subdirectory of your Go root (for example, c:\Go\bin
) to your PATH
environment variable.
+Download the zip file and extract it into the directory of your choice (we suggest c:\Go
).
-Open the MSI file
-and follow the prompts to install the Go tools.
-By default, the installer puts the Go distribution in c:\Go
.
+If you chose a directory other than c:\Go
,
+you must set the GOROOT
environment variable to your chosen path.
-The installer should put the c:\Go\bin
directory in your
-PATH
environment variable. You may need to restart any open
-command prompts for the change to take effect.
+Add the bin
subdirectory of your Go root (for example, c:\Go\bin
) to your PATH
environment variable.
@@ -220,55 +218,24 @@ hello, world If you see the "hello, world" message then your Go installation is working.
--The document How to Write Go Code explains how to -set up a work environment in which to build and test Go code. -
- --Start by taking A Tour of Go. -
- --Build a web application by following the Wiki -Tutorial. -
--Read Effective Go to learn about writing -idiomatic Go code. -
- --For the full story, consult Go's extensive documentation. -
- --Subscribe to the -golang-announce -mailing list to be notified when a new stable version of Go is released. -
- - -
-For real-time help, there may be users or developers on
-#go-nuts
on the Freenode IRC server.
+You're almost done.
+You just need to do a little more setup.
-The official mailing list for discussion of the Go language is -Go Nuts. + +How to Write Go Code +Learn how to set up and use the Go tools +
-Bugs should be reported using the -Go issue tracker. +The How to Write Go Code document +provides essential setup instructions for using the Go tools.
@@ -293,3 +260,21 @@ environment variables under Windows. +
+For real-time help, ask the helpful gophers in #go-nuts
on the
+Freenode IRC server.
+
+The official mailing list for discussion of the Go language is +Go Nuts. +
+ ++Report bugs using the +Go issue tracker. +
+ + -- cgit v1.2.3-54-g00ecf