mirror of
https://github.com/golang/go
synced 2024-10-01 06:18:31 -06:00
The Go programming language
a1c1cf19ba
goimports to use the package name as a local qualifier in an import. For example, if findImports("pkg", "X") returns ("foo/bar", rename=true), then goimports adds the import line: import pkg "foo/bar" to satisfy uses of pkg.X in the file. This change doesn't add any implementations of rename=true, though one is sketched in a TODO. LGTM=crawshaw R=crawshaw, rsc CC=bradfitz, golang-codereviews https://golang.org/cl/76400050 |
||
---|---|---|
astutil | ||
blog | ||
cmd | ||
cover | ||
dashboard | ||
go | ||
godoc | ||
imports | ||
oracle | ||
playground | ||
present | ||
.hgignore | ||
AUTHORS | ||
codereview.cfg | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
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.