commit | bd91bbf73e9a4a801adbfb97133c992678533126 | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Thu Aug 31 19:01:58 2017 +0200 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Fri Sep 01 15:30:44 2017 +0000 |
tree | 10b083f5e7a0fcc1cda81682494914d15dcb23cb | |
parent | 5c11b696d00c33495a190cbaf83ab94f9898c4bf [diff] |
internal/format: add interface This is analogous to fmt.Formatter. It is a bit questionable to use fmt.Formatter for localized text rendering as it is unclear what the meaning is in some cases. Use this until we know for sure. Change-Id: I3571c1bb3db1efeb6e7daf23afd7a6147b5a3dbc Reviewed-on: https://go-review.googlesource.com/60731 Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>