Documentation
¶
Overview ¶
Package out provides a simple interface to terminal outputting. Suitable for terminal applications.
View sample screenshot at https://github.com/GochoMugo/go-out/blob/master/screenshot.png
All the exported functions, unless noted otherwise, format the message string using Printf. Also, color codes, as expected by colorstring (https://github.com/mitchellh/colorstring), found within the message are replaced with the respective colors. For example `"hello, [red] mars"` will have the "[red]" replaced with color red.
Index ¶
- func Debug(message string, args ...interface{}) (n int, err error)
- func Error(message string, args ...interface{}) (n int, err error)
- func Info(message string, args ...interface{}) (n int, err error)
- func Success(message string, args ...interface{}) (n int, err error)
- func Warn(message string, args ...interface{}) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.
