Registry / utility / mitchellh-colorstring

mitchellh-colorstring

JSON →
library0.0.0-20190213212951-d06e56a500dbgogounverified

colorstring provides functions for colorizing strings for terminal output.

go get github.com/mitchellh/colorstring
INSTALL
IMPORT
SIG · MITCHELLH-COLORSTR
M
mitchellh-colorstring
utilitygov0.0.0-20190213212951-d06e56a500db
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/mitchellh/colorstring

Print a colorized string to the terminal.

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

No known issues recorded.

Upgrade
Version history
0.0.0-20190213212951-d06e56a500dblatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mitchellh-colorstring — go get mitchellh-colorstring · libregistry