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

Russ Cox

Commits by Russ Cox were pushed to rsc/go

cdd8ac6 - works
Russ Cox

Commits by Russ Cox were pushed to rsc/go

637521b - lib9/utf: make safe for automatic build Add // +build ignore to mkrunetype.c, rename runetypebody to be .h since it is #included, delete old runetypebody tables. ...
codereview

Commits by codereview were pushed to rsc/go

a577d1d - merge default
Rob Pike

Commits by Rob Pike were pushed to rsc/go

c879407 - tools: update references to "x" to be "go tool x" For instance, don't talk about gofix, talk about the fix tool or "go tool fix". ...
Brad Fitzpatrick

Commits by Brad Fitzpatrick were pushed to rsc/go

114d4a5 - test: don't use package main for files without a main function Part of issue 2833, but works fine with current test runner. R=golang-dev, rsc CC=golang-dev ...
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.