1
0
mirror of https://github.com/fatih/color.git synced 2025-02-16 18:34:39 +02:00

Small fix in doc.go

This commit is contained in:
Fatih Arslan 2014-02-18 01:05:41 -08:00
parent bb4d8abda7
commit 53a67d05c4

6
doc.go
View File

@ -1,12 +1,14 @@
/*
Package color is an ANSI color package to output colorized or SGR defined
output to the standard output. The api can be used in several way, pick one
output to the standard output. The API can be used in several way, pick one
that suits you.
Use simple and default helper functions with predefined foreground colors:
color.Cyan("Prints text in cyan.")
color.Blue("Prints %s in blue.", "text") // a newline will be appended automatically
// a newline will be appended automatically
color.Blue("Prints %s in blue.", "text")
// More default foreground colors..
color.Red("We have red")