color

package
v0.0.0-...-acda5ee Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blue

func Blue(content any) string

Blue return content with blue color

func Bold

func Bold(content any) string

Bold return content with bold text

func FromName

func FromName(colorName string, content any) string

FromName return content with given color name

func Green

func Green(content any) string

Green return content with green color

func Magenta

func Magenta(content any) string

Magenta return content with magenta color

func Red

func Red(content any) string

Red return content with red color

func Reverse

func Reverse(content any) string

Reverse return content with reverse colors

func Yellow

func Yellow(content any) string

Yellow return content with yellow color

Types

This section is empty.

Jump to

Keyboard shortcuts

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