A lightweight, simple and cross-platform package to colorize text in terminals
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/TwiN/go-color/compare/v1.4.0...v1.4.1
Published by TwiN almost 2 years ago
Autof
by @TwiN in https://github.com/TwiN/go-color/pull/12
The new color.Autof()
is an experimental colored replacement for fmt.Sprintf
, and it may be kept or removed based on your feedback.
Please vote on poll: Keep or Remove color.Autof
?
Full Changelog: https://github.com/TwiN/go-color/compare/v1.3.0...v1.4.0
Published by TwiN almost 2 years ago
In<TEXT_COLOR>Over<BACKGROUND_COLOR>
have been addedWith
" for Colorize
Full Changelog: https://github.com/TwiN/go-color/compare/v1.2.0...v1.3.0
Published by TwiN about 2 years ago
Full Changelog: https://github.com/TwiN/go-color/compare/v1.1.0...v1.2.0
Published by TwiN almost 3 years ago
Added the following functions:
color.InBold(s string)
color.InRed(s string)
color.InGreen(s string)
color.InYellow(s string)
color.InBlue(s string)
color.InPurple(s string)
color.InCyan(s string)
color.InGray(s string)
color.InWhite(s string)
Published by TwiN about 3 years ago
⚠ Migrated TwinProduction/go-color to TwiN/go-color
Published by TwiN over 3 years ago
Bold
- Thanks to @kawsark #3Also releasing v1.0.0, not because of a breaking change, but because the library is sufficiently stable.
Published by TwiN almost 4 years ago
Published by TwiN over 5 years ago
Published by TwiN over 5 years ago
Added support for Windows
Published by TwiN over 5 years ago