tools/go
Alan Donovan bdcea2c1b3 go/buildutil: use chan (not func) in the ForEachPackage API
The callbacks are intentionally concurrent, making this function very
easy to misuse (most clients so far have got it wrong, even my own).
Using a channel in the API makes the concurrency obvious, the
correct usage easy, and the client control flow simpler.

Change-Id: Ied38c3ed5c98b40eb1b322a984ed9dc092ac0918
Reviewed-on: https://go-review.googlesource.com/3250
Reviewed-by: Sameer Ajmani <sameer@golang.org>
2015-03-05 20:14:20 +00:00
..
ast/astutil astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00
buildutil go/buildutil: use chan (not func) in the ForEachPackage API 2015-03-05 20:14:20 +00:00
callgraph go/loader: rename SourceImports flag to ImportFromBinary and invert sense 2015-02-23 23:01:10 +00:00
exact tools: add import comments. 2014-12-09 22:42:16 +00:00
gccgoimporter go/gccgoimporter: disable test case (fix build, at least partially) 2015-02-12 21:45:02 +00:00
gcimporter tools: add import comments. 2014-12-09 22:42:16 +00:00
importer tools: add import comments. 2014-12-09 22:42:16 +00:00
loader go/loader: name unnamed packages so errors make sense 2015-02-27 22:39:28 +00:00
pointer go/loader: rename SourceImports flag to ImportFromBinary and invert sense 2015-02-23 23:01:10 +00:00
ssa go/ssa: treat declared init functions less specially 2015-03-05 20:09:21 +00:00
types go/types: better error message for use of _ in type switch 2015-03-02 18:58:57 +00:00
vcs go/vcs: fix bug in remote package discovery 2015-01-10 08:10:09 +00:00