Help us shape the future of Go! Take the 2026 Go Developer Survey

color

package
v2.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 2 Imported by: 17

Documentation

Overview

Package color provides translation of the colors to the monochromatic representation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlueString

func BlueString(format string, a ...interface{}) string

BlueString is a convenient helper function to return a string with faint attribute.

func BoldString

func BoldString(format string, a ...interface{}) string

BoldString is a convenient helper function to return a string with bold text

func CyanString

func CyanString(format string, a ...interface{}) string

CyanString is a convenient helper function to return a string with underline attribute.

func FaintString

func FaintString(format string, a ...interface{}) string

FaintString is a convenient helper function to return a string with faint (lighter) text

func GreenString

func GreenString(format string, a ...interface{}) string

GreenString is a convenient helper function to return a string with bold attribute.

func HiBlackString

func HiBlackString(format string, a ...interface{}) string

HiBlackString is a convenient helper function to return a string with normal attribute.

func HiYellowString

func HiYellowString(format string, a ...interface{}) string

HiYellowString is a convenient helper function to return a string with italic attribute.

func ItalicString

func ItalicString(format string, a ...interface{}) string

ItalicString is a convenient helper function to return a string with italic text

func RedString

func RedString(format string, a ...interface{}) string

RedString is a convenient helper function to return a string with reverse video attribute.

func ReverseVideoString

func ReverseVideoString(format string, a ...interface{}) string

ReverseVideoString is a convenient helper function to return a string with reversed video

func UnderlineString

func UnderlineString(format string, a ...interface{}) string

UnderlineString is a convenient helper function to return a string with underline text

func YellowString

func YellowString(format string, a ...interface{}) string

YellowString is a convenient helper function to return a string with italic attribute.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL