Documentation ¶
Index ¶
- func Bold(s string) string
- func BoldBlue(s string) string
- func BoldRed(s string) string
- func CopyWithFirstReadChan(firstReadDone chan struct{}) func(io.Writer, io.Reader) (int64, error)
- func CopyWithTimeout(timeout time.Duration) func(io.Writer, io.Reader) (int64, error)
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Gray(s string) string
- func Green(s string) string
- func Indent(data string, level int) string
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func LightGray(s string) string
- func Status(args ...interface{})
- func Statusf(format string, args ...interface{})
- func Warning(args ...interface{})
- func Warningf(format string, args ...interface{})
- func Yellow(s string) string
- type Spinner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyWithFirstReadChan ¶ added in v1.16.6
func CopyWithTimeout ¶ added in v1.16.6
Types ¶
type Spinner ¶ added in v1.16.6
type Spinner struct { PostHook func() // contains filtered or unexported fields }
func NewSpinner ¶ added in v1.16.6
func NewSpinnerWithStopChan ¶ added in v1.16.6
Click to show internal directories.
Click to hide internal directories.