Versions in this module Expand all Collapse all v0 v0.1.3 Dec 30, 2023 Changes in this version + func FormatBytes(c uint64) string + func FormatDuration(d time.Duration) string + func FormatPercent(numerator uint64, denominator uint64) string + func FormatSeconds(sec uint64) string + func ParseBytes(s string) (int64, error) + func ToJSONString(status interface{}) string + type Message struct + func NewMessage(term *termstatus.Terminal, verbosity uint) *Message + func (m *Message) E(msg string, args ...interface{}) + func (m *Message) P(msg string, args ...interface{}) + func (m *Message) V(msg string, args ...interface{}) + func (m *Message) VV(msg string, args ...interface{}) + type StdioWrapper struct + func NewStdioWrapper(term *termstatus.Terminal) *StdioWrapper + func (w *StdioWrapper) Stderr() io.WriteCloser + func (w *StdioWrapper) Stdout() io.WriteCloser