mirror of
https://github.com/golang/go
synced 2024-10-01 03:18:33 -06:00
The Go programming language
95963e031d
The go tool will import a package with a import path that traverses symlinks with no problems, but goimports would remove that import because it would fail to recognize the package as existent. Fixes golang/go#14845 Note: if the file you are currently processing also has a name inside the symlink, you might have to use the "long" path for vendoring to work, as it wouldn't be recognized as "deeper" than the vendor folder otherwise. For example in this tree: . ├── myfile.go └── x ├── vendor │ └── mypkg │ └── foo.go └── y -> .. If myfile.go imports mypkg, you will have to process it as ./x/y/myfile.go, not ./myfile.go. Change-Id: Ic8f41baed3f28d4e9b813160d91aef09ece1fc9f Reviewed-on: https://go-review.googlesource.com/23803 Reviewed-by: Andrew Gerrand <adg@golang.org> Run-TryBot: Andrew Gerrand <adg@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
benchmark/parse | ||
blog | ||
cmd | ||
container/intsets | ||
cover | ||
go | ||
godoc | ||
imports | ||
oracle | ||
playground | ||
present | ||
refactor | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
codereview.cfg | ||
CONTRIBUTING.md | ||
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.