1
0
mirror of https://github.com/golang/go synced 2024-11-17 13:54:46 -07:00
The Go programming language
Go to file
Josh Bleecher Snyder cbea724378 sync: improve once.Do documentation readability
The previous wording, though accurate, was hard to parse.
In particular, it was tempting to interpret "the method"
as referring to "the function f" instead of "Do", and
required effort to find the correct antecedent for
"this receiver".

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/13307043
2013-08-28 12:53:59 +10:00
api api: update next.txt, except.txt 2013-08-20 11:14:45 +10:00
doc doc/go1.2.txt: dereference pointer values when evaluating args for escape funcs 2013-08-27 14:33:05 +10:00
include include/plan9: define size_t to fix build breakage 2013-06-28 12:16:33 -07:00
lib cmd/godoc: delete from core repository 2013-08-01 11:21:17 +10:00
misc misc/pprof: pprof http used with net/http/pprof not working on windows/amd64 2013-08-27 10:35:06 -07:00
src sync: improve once.Do documentation readability 2013-08-28 12:53:59 +10:00
test cmd/gc: tag builtin error, byte, rune to avoid exporting them. 2013-08-27 21:18:32 +02:00
.hgignore build: ignore new zfiles, delete temp goplay binary in run.bash 2013-08-02 19:14:13 -07:00
.hgtags tag go1.1.2 2013-08-13 16:33:59 +10:00
AUTHORS A+C: Jan Mercl (individual CLA) 2013-08-23 10:38:30 -05:00
CONTRIBUTORS C: add Asim Shankar (Google CLA) 2013-08-28 09:40:08 +10:00
favicon.ico godoc: update favicon 2012-10-11 17:02:36 +11:00
LICENSE
PATENTS
README
robots.txt

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.

--

Binary Distribution Notes

If you have just untarred a binary Go distribution, you need to set
the environment variable $GOROOT to the full path of the go
directory (the one containing this README).  You can omit the
variable if you unpack it into /usr/local/go, or if you rebuild
from sources by running all.bash (see doc/install.html).
You should also add the Go binary directory $GOROOT/bin
to your shell's path.

For example, if you extracted the tar file into $HOME/go, you might
put the following in your .profile:

    export GOROOT=$HOME/go
    export PATH=$PATH:$GOROOT/bin

See doc/install.html for more details.