Registry / utility / fatih-color-v1

fatih-color-v1

JSON →
library1.7.0gogounverified

Package color is an ANSI color package to output colorized or SGR defined output to the standard output.

go get gopkg.in/fatih/color.v1
INSTALL
IMPORT
SIG · FATIH-COLOR-V1
F
fatih-color-v1
utilitygov1.7.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.

color
gopkg.in/fatih/color.v1

Print colored text to the terminal

package main import ( "fmt" "gopkg.in/fatih/color.v1" ) func main() { color.Red("Hello, World!") fmt.Println(color.RedString("Red string")) }
Debug
Known issues
breakingVersion 1.x is deprecated; use v2 or v3 for new projects.
fix
Upgrade to github.com/fatih/color or gopkg.in/fatih/color.v2
affects: >=1.0.0 <2.0.0
Upgrade
Version history
1.7.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fatih-color-v1 — go get fatih-color-v1 · libregistry