go-color

A lightweight, simple and cross-platform package to colorize text in terminals

MIT License

Stars
96
Committers
4

Bot releases are hidden (Show)

go-color - v1.4.1 Latest Release

Published by TwiN about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/TwiN/go-color/compare/v1.4.0...v1.4.1

go-color - v1.4.0

Published by TwiN almost 2 years ago

What's Changed

Notice

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

go-color - v1.3.0

Published by TwiN almost 2 years ago

What's Changed

  • feat: Support background colors by @TwiN in https://github.com/TwiN/go-color/pull/9
    • Several new functions with pattern In<TEXT_COLOR>Over<BACKGROUND_COLOR> have been added
  • feat: Add alias "With" for Colorize

Full Changelog: https://github.com/TwiN/go-color/compare/v1.2.0...v1.3.0

go-color - v1.2.0

Published by TwiN about 2 years ago

What's Changed

Full Changelog: https://github.com/TwiN/go-color/compare/v1.1.0...v1.2.0

go-color - v1.1.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)
go-color - v1.0.1

Published by TwiN about 3 years ago

go-color - v1.0.0

Published by TwiN over 3 years ago

  • Added Bold - Thanks to @kawsark #3

Also releasing v1.0.0, not because of a breaking change, but because the library is sufficiently stable.

go-color - v0.0.3

Published by TwiN almost 4 years ago

  • Updated to Go 1.15
go-color - v0.0.2

Published by TwiN over 5 years ago

go-color - v0.0.2-alpha

Published by TwiN over 5 years ago

Added support for Windows

go-color - v0.0.1

Published by TwiN over 5 years ago

Package Rankings
Top 2.7% on Proxy.golang.org
Badges
Extracted from project README
Go Report Card Go version Go Reference Follow TwiN