Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
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.

Recent activity

Oling Cat

Commits by Oling Cat were pushed to mikespook/go-zh

45ac585 - doc/go_spec: 翻译完成!修改大量术语及语句,调整了中英对照顺序。
Oling Cat

Commits by Oling Cat were pushed to mikespook/go-zh

770e784 - doc/go_spec: 翻译完成!修改大量术语及语句,调整了中英对照顺序。
Rémy Oudompheng

Commits by Rémy Oudompheng were pushed to mikespook/go-zh

2d97f35 - strconv: 2x-4x speed improvement for atof64. benchmark old ns/op new ns/op delta BenchmarkAtof64Decimal 344 71 -79.22% BenchmarkAtof64Float 397 90 -77.15% BenchmarkAtof64FloatExp 445 241 -45.84% BenchmarkAtof64Big ...
Dave Cheney

Commits by Dave Cheney were pushed to mikespook/go-zh

5f24ff9 - net: fix race between Close and Read Fixes issue 3507. Applied the suggested fix from rsc. If the connection is in closing state then errClosing ...
Andrew Balholm

Commits by Andrew Balholm were pushed to mikespook/go-zh

b25d41f - exp/html: more work on inBodyIM Reorder some cases. Handle <pre>, <listing>, </form>, </li>, </dd>, </dt>, </h1>, </h2>, </h3>, </h4>, </h5>, and </h6> tags. Pass 6 ...
Ian Lance Taylor

Commits by Ian Lance Taylor were pushed to mikespook/go-zh

78de080 - runtime: disable memory profiler in gc_test This lets the test pass on PPC64 GNU/Linux, which uses a much larger page size and thus uses more ...
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.