colour

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd added in v1.0.0

func Cmd(message string) string

func Custom

func Custom(fgColor string, bgColor string, message string) string

func Danger

func Danger(message string) string

func Disabled

func Disabled(message string) string

func Error

func Error(message string) string

func ErrorDetail added in v1.0.0

func ErrorDetail(message string) string

func Failure

func Failure(message string) string

func File added in v0.4.0

func File(filename string) string

func Greeting added in v0.3.0

func Greeting(message string) string
func Header(message string) string

func Info

func Info(message string) string

func Instruction added in v1.0.0

func Instruction(message string) string

func StripAllColourCodes

func StripAllColourCodes(message string) string

StripAllColourCodes strips all the ANSI colour codes from a string

func Success

func Success(message string) string

func TableHeader

func TableHeader(message string) string

func Waiting added in v0.3.0

func Waiting(message string) string

func Warning

func Warning(message string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL