Registry / utility / daviddengcn-go-colortext

daviddengcn-go-colortext

JSON →
library1.0.0gogounverified

Provides functions to change the color of console text on Windows and Unix systems.

go get github.com/daviddengcn/go-colortext
INSTALL
IMPORT
SIG · DAVIDDENGCN-GO-COL
D
daviddengcn-go-colortext
utilitygov1.0.0
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.

ct
github.com/daviddengcn/go-colortext

Print red text to the console

package main import "github.com/daviddengcn/go-colortext" func main() { ct.ChangeColor(ct.Red, true, ct.None, false) println("Red text") ct.ResetColor() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources
daviddengcn-go-colortext — go get daviddengcn-go-colortext · libregistry