mirror of
https://github.com/golang/go
synced 2024-11-21 15:24:45 -07:00
The Go programming language
1f9dfa294f
- change ast.Ident back to contain the name and adjust all dependent code - identifier object information will be added again through an optional typechecker phase (in the works). - remove tracking of scopes in parser - it's easier to do this in a separate phase (in the works) - in godoc, generate popup info table directly instead of through a formatter for simpler data flow (at the expense of a little bit more code) Runs all tests. As a result of this change, the currently shown popup information (const, var, type, func, followed by identifier name) will not be shown anymore temporarily. R=rsc CC=golang-dev https://golang.org/cl/1994041 |
||
---|---|---|
doc | ||
include | ||
lib | ||
misc | ||
pkg | ||
src | ||
test | ||
.hgignore | ||
.hgtags | ||
AUTHORS | ||
CONTRIBUTORS | ||
favicon.ico | ||
LICENSE | ||
README |
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, then there are some environment variables you'll need to set in your .profile (or equivalent): GOOS should be set to your operating system (eg, linux), GOARCH should be your processor architecture (eg, amd64), GOROOT should be the directory you extracted the tarball to, GOBIN should point to $GOROOT/bin. For example, if you downloaded the tarball go.release.YYYY-MM-DD.linux-amd64.tar.gz and extracted it to /home/username/go you would set the following variables: export GOOS=linux export GOARCH=amd64 export GOROOT=/home/username/go export GOBIN=$GOROOT/bin See doc/install.html for more detail about these flags. Additionally, $GOROOT should be in your $PATH: export PATH=PATH:$GOROOT