Examples: - "foo$1" becomes "pkg.foo$1" - "init$1" (meaning the first declared "init" function) becomes "init#1", to distinguish it from "init$1" (meaning the first anonymous function within the synthetic "init" function that initializes package-level vars). It is now an invariant that all source-level (non-synthetic) functions have distinct names, and that all names include the enclosing package. Added test for this. + updated various clients. LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/122750043 |
||
|---|---|---|
| astutil | ||
| blog | ||
| cmd | ||
| container/intsets | ||
| cover | ||
| dashboard | ||
| go | ||
| godoc | ||
| imports | ||
| oracle | ||
| playground | ||
| present | ||
| refactor | ||
| .hgignore | ||
| AUTHORS | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| PATENTS | ||
| README | ||
| codereview.cfg | ||
README
This subrepository holds the source for various packages and tools that support the Go programming language. Some of the tools, godoc and vet for example, are included in binary Go distributions. Others, including the Go oracle and the test coverage tool, can be fetched with "go get". Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs. To submit changes to this repository, see http://golang.org/doc/contribute.html.