mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
f91a3b87c1
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. |
||
---|---|---|
.. | ||
impl_others.go | ||
impl_windows.go | ||
panicwrap_ugh.go | ||
stream.go | ||
streams_test.go | ||
streams.go | ||
testing.go |