colors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blue

func Blue(s string) string

Blue string.

func Bold

func Bold(s string) string

Bold string.

func Cyan

func Cyan(s string) string

Cyan string.

func Gray

func Gray(s string) string

Gray string.

func Green

func Green(s string) string

Green string.

func Purple

func Purple(s string) string

Purple string.

func Red

func Red(s string) string

Red string.

func Yellow

func Yellow(s string) string

Yellow string.

Types

type Func

type Func func(string) string

Func is a color function.

func Bool

func Bool(ok bool) Func

Bool returns a color func based on the state.

Jump to

Keyboard shortcuts

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