color

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: AGPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blue

func Blue(content interface{}) string

Blue return content with blue color

func Bold

func Bold(content interface{}) string

Bold return content with bold text

func FromName

func FromName(colorName string, content interface{}) string

FromName return content with given color name

func Green

func Green(content interface{}) string

Green return content with green color

func Magenta

func Magenta(content interface{}) string

Magenta return content with magenta color

func Red

func Red(content interface{}) string

Red return content with red color

func Reverse

func Reverse(content interface{}) string

Reverse return content with reverse colors

func Yellow

func Yellow(content interface{}) 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