We define a derived mode of compilation-mode, so that various names say "guru" instead of "compilation", and use the hooks it provides to apply our postprocessing incrementally instead of all at the end. It's much faster, and works nicely with the new streaming referrers query. Compilation mode requires a shell command, not an execve array, so go-guru--compile-command joins the arguments with spaces. go-guru--exec has been specialized for JSON mode, and renamed to go-guru--json. go-guru--set-scope-if-empty is now done by each mode, to avoid the NEED-SCOPE parameter to go-guru--exec. Change-Id: I692b8b28449b7cc17fd6251a152588f9d8b89ebc Reviewed-on: https://go-review.googlesource.com/21772 Reviewed-by: Dominik Honnef <dominik@honnef.co> Reviewed-by: Alan Donovan <adonovan@google.com> |
||
|---|---|---|
| benchmark/parse | ||
| blog | ||
| cmd | ||
| container/intsets | ||
| cover | ||
| go | ||
| godoc | ||
| imports | ||
| oracle | ||
| playground | ||
| present | ||
| refactor | ||
| .gitattributes | ||
| .gitignore | ||
| AUTHORS | ||
| CONTRIBUTING.md | ||
| 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.