github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/colorprint/doc.go (about)

     1  /*
     2  Package colorprint print ANSI coloured text to the standard output.
     3  
     4  Colours are passed to the functions by strings that define a colour code.
     5  
     6  Colour code syntax:
     7  
     8  	r ... red
     9  	g ... green
    10   	y ... yellow
    11  	b ... blue
    12  	x ... black
    13  	m ... magenta
    14  	c ... cyan
    15  	w ... white
    16  	d ... default
    17  	+ ... bold
    18  	* ... italic
    19  	~ ... reverse
    20  	_ ... underlined
    21  	# ... blink
    22  	? ... concealed
    23  
    24  	background coloring is affected by using upper case letters
    25  
    26  Some examples:
    27  	+r ... bold red
    28  	rY ... red text on yellow background
    29  
    30  */
    31  package colorprint