terminal

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Red

func Red(s string) string

Red add ANSI escape codes to the given string so when printed on a terminal the text foreground is red.

func White

func White(s string) string

White add ANSI escape codes to the given string so when printed on a terminal the text foreground is white.

func Yellow

func Yellow(s string) string

Yellow add ANSI escape codes to the given string so when printed on a terminal the text foreground is yellow.

Types

This section is empty.

Jump to

Keyboard shortcuts

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