Registry / utility / admpub-color

admpub-color

JSON →
library1.8.1gogounverified

An ANSI color package to output colorized or SGR defined output to the standard output.

go get github.com/admpub/color
INSTALL
IMPORT
SIG · ADMPUB-COLOR
A
admpub-color
utilitygov1.8.1
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.

color
github.com/admpub/color

Prints red text to the console.

package main import ( "github.com/admpub/color" ) func main() { color.Red("This is red text") }
Debug
Known issues
gotchaWindows support may require additional setup for color.SprintXXX functions.
fix
Use fmt.Fprint with color.Output as the writer.
affects: >=1.0.0
Upgrade
Version history
1.8.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
26
Meta
1
OpenAI (training)
1
Resources
admpub-color — go get admpub-color · libregistry