Documentation ¶
Index ¶
- Constants
- func Black(message string) string
- func BlackBold(message string) string
- func Blue(message string) string
- func BlueBold(message string) string
- func Bold(message string) string
- func Cyan(message string) string
- func CyanBold(message string) string
- func Gray(message string) string
- func GrayBold(message string) string
- func Green(message string) string
- func GreenBold(message string) string
- func Magenta(message string) string
- func MagentaBold(message string) string
- func NewColorModeWritter(w io.Writer, mode outputMode) io.Writer
- func NewColorWritter(w io.Writer) io.Writer
- func Red(message string) string
- func RedBold(message string) string
- func White(message string) string
- func WhiteBold(message string) string
- func Yellow(message string) string
- func YellowBold(message string) string
Constants ¶
View Source
const ( DiscardNonColorEscSeq outputMode OutputNonColorEscSeq )
Variables ¶
This section is empty.
Functions ¶
func MagentaBold ¶
MagentaBold returns a magenta Bold string
func NewColorModeWritter ¶
NewColorModeWritter create and initialize a new ans color writter by specifying the output mode
func NewColorWritter ¶
create and initialize a new ansi color writter using io.Writter as its initial content
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.