Block a user
golang-github-gookit-color-dev (1.5.4-3)
Published 2025-03-09 22:23:12 +00:00 by jon
Installation
sudo curl -o /etc/apt/keyrings/gitea-jon.asc
echo "deb [signed-by=/etc/apt/keyrings/gitea-jon.asc] $distribution $component" | sudo tee -a /etc/apt/sources.list.d/gitea.list
sudo apt updateChoose $distribution and $component from the list below.
sudo apt install golang-github-gookit-color-dev=1.5.4-3
Repository Info
Distributions |
noble |
Components |
universe |
Architectures |
all |
About this package
Terminal color rendering library written in Go This package provides a command-line color library with 16/256/True color support, universal API methods and Windows support. . Features . * Simple to use, zero dependencies * Supports rich color output: 16-color (4-bit), 256-color (8-bit), true color (24-bit, RGB) * 16-color output is the most commonly used and most widely supported, working on any Windows version * Since v1.2.4 **the 256-color (8-bit), true color (24-bit) support windows CMD and PowerShell** * See this gist (https://gist.github.com/XVilka/8346728) for information on true color support * Support converts HEX HSL value to RGB color * Generic API methods: Print, Printf, Println, Sprint, Sprintf * Supports HTML tag-style color rendering, such as <green>message</> <fg=red;bg=blue>text</>. * In addition to using built-in tags, it also supports custom color attributes * Custom color attributes support the use of 16 color names, 256 color values, rgb color values and hex color values * Support working on Windows cmd and powerShell terminal * Basic colors: Bold, Black, White, Gray, Red, Green, Yellow, Blue, Magenta, Cyan * Additional styles: Info, Note, Light, Error, Danger, Notice, Success, Comment, Primary, Warning, Question, Secondary * Support by set NO_COLOR for disable color or use FORCE_COLOR for force open color render. * Support Rgb, 256, 16 color conversion
Dependencies
| golang-github-stretchr-testify-dev |
| golang-github-xo-terminfo-dev |