mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
When displaying a diff the gorename command would panic because the stdout variable was never set. These changes default stdout to os.Stdout. Fixes https://github.com/golang/go/issues/14009 Change-Id: I0902b2b4e2b8e1f46f8ab50e30dcfc841c925174 Reviewed-on: https://go-review.googlesource.com/18813 Reviewed-by: Alan Donovan <adonovan@google.com>
golang.org/x/tools/refactor: libraries for refactoring tools.