Registry / utility / k0kubun-colorstring

k0kubun-colorstring

JSON →
library0.0.0-20150214042306-9440f1994b88gogounverified

Provides functions for colorizing strings for terminal output.

go get github.com/k0kubun/colorstring
INSTALL
IMPORT
SIG · K0KUBUN-COLORSTRIN
K
k0kubun-colorstring
utilitygov0.0.0-20150214042306-9440f1994b88
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

colorstring
github.com/k0kubun/colorstring

Prints a red-colored string to the terminal.

package main import ( "fmt" "github.com/k0kubun/colorstring" ) func main() { fmt.Println(colorstring.Color("[red]Hello, world!")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20150214042306-9440f1994b88latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
k0kubun-colorstring — go get k0kubun-colorstring · libregistry