terraform/internal/terminal
Martin Atkins f91a3b87c1 terminal: Helpers for doing fmt-ish operations on the streams
It's pretty common to want to apply the various fmt.Fprint... functions
to our two output streams, and so to make that much less noisy at the
callsite here we have a small number of very thin wrappers around the
underlying fmt package functionality.

Although we're aiming to not have too much abstraction in this "terminal"
package, this seems justified in that it is only a very thin wrapper
around functionality that most Go programmers are already familiar with,
and so the risk of this causing any surprises is low and the improvement
to readability of callers seems worth it.
2021-02-12 11:24:13 -08:00
..
impl_others.go internal/terminal: Interrogate and initialize the terminal, if any 2021-01-13 15:37:04 -08:00
impl_windows.go internal/terminal: Interrogate and initialize the terminal, if any 2021-01-13 15:37:04 -08:00
panicwrap_ugh.go internal/terminal: Interrogate and initialize the terminal, if any 2021-01-13 15:37:04 -08:00
stream.go internal/terminal: Interrogate and initialize the terminal, if any 2021-01-13 15:37:04 -08:00
streams.go terminal: Helpers for doing fmt-ish operations on the streams 2021-02-12 11:24:13 -08:00
streams_test.go terminal: Helpers for doing fmt-ish operations on the streams 2021-02-12 11:24:13 -08:00
testing.go terminal: StreamsForTesting helper 2021-02-10 11:51:56 -08:00