Registry / utility / mattn-go-colorable-v0

mattn-go-colorable-v0

JSON →
library0.1.0gogounverified

A Go library for colorable output on Windows terminals.

go get gopkg.in/mattn/go-colorable.v0
INSTALL
IMPORT
SIG · MATTN-GO-COLORABLE
M
mattn-go-colorable-v0
utilitygov0.1.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.

colorable
gopkg.in/mattn/go-colorable.v0

Writes colored text to stdout using ANSI escape codes.

package main import ( "fmt" "gopkg.in/mattn/go-colorable.v0" ) func main() { fmt.Fprintf(colorable.NewColorableStdout(), "\033[31mRed text\033[0m\n") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
mattn-go-colorable-v0 — go get mattn-go-colorable-v0 · libregistry