commit | f8e557f4bc294a9f3e0fdbddf0ce9566491b5961 | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Fri Sep 11 14:46:39 2015 +0200 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Mon Sep 14 07:03:23 2015 +0000 |
tree | 7d0783eda26b4dfd5fe108249335c7699b214e50 | |
parent | 0820da9e4417ebcb7e52b0bd1b254bd0f1e21ffe [diff] |
internal/gen: add WriteGo variants of WriteGoFile equivalents This allows interjecting a final post-processing stage before writing to a file. It also allows getting the error. This will be needed in a generator for the language package soon. Change-Id: Ieda51707a916410c163305fc1f676e063a4658a5 Reviewed-on: https://go-review.googlesource.com/14437 Reviewed-by: Nigel Tao <nigeltao@golang.org>