Versions in this module Expand all Collapse all v0 v0.1.0 Nov 1, 2019 Changes in this version + var Stderr = TTY(os.Stderr) + var Stdout = TTY(os.Stdout) + func FormatString(s string) string + func Fprint(w io.Writer, args ...interface{}) (n int, err error) + func Fprintf(w io.Writer, format string, args ...interface{}) (n int, err error) + func Fprintln(w io.Writer, args ...interface{}) (n int, err error) + func Print(args ...interface{}) (n int, err error) + func Printf(format string, args ...interface{}) (n int, err error) + func Println(args ...interface{}) (n int, err error) + func Sprint(args ...interface{}) string + func Sprintf(format string, args ...interface{}) string + func Sprintln(args ...interface{}) string + func StripFormatting(s string) string + type Printer interface + Print func(args ...interface{}) (n int, err error) + Printf func(format string, args ...interface{}) (n int, err error) + Println func(args ...interface{}) (n int, err error) + func Colour(w io.Writer) Printer + func Strip(w io.Writer) Printer + func TTY(w io.Writer) Printer + type StringPrinter struct + func String() *StringPrinter + func StringStripper() *StringPrinter + func (s *StringPrinter) String() string