tools/refactor/rename
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
..
check.go go/types: expose IsInterface predicate, eliminating 6 copies 2015-01-21 18:49:27 +00:00
mvpkg.go go/buildutil: use chan (not func) in the ForEachPackage API 2015-03-05 20:14:20 +00:00
mvpkg_test.go go/buildutil: use chan (not func) in the ForEachPackage API 2015-03-05 20:14:20 +00:00
rename.el refactor/rename: allow passing -force flag from Emacs 2015-01-20 22:08:13 +00:00
rename.go go/loader: rename SourceImports flag to ImportFromBinary and invert sense 2015-02-23 23:01:10 +00:00
rename_test.go go/buildutil: FakeContext: create build.Context of fake file tree, for testing 2015-01-15 22:46:57 +00:00
spec.go cmd/gorename: make Usage documentation sensible in godoc 2014-12-30 16:36:43 +00:00
util.go astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00