colors

package
v0.0.0-...-f8895a0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2013 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package colors provides functions to optionally wrap strings with ASCII colors codes. The display of colors is disabled by the --no-colors flag

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blue

func Blue(s string) (res string)

Blue returns s wrapped in Blue ASCII Color Codes

func Mock

func Mock()

Mock disables colors for testing

func Red

func Red(s string) (res string)

Red returns s wrapped in Red ASCII Color Codes

func Yellow

func Yellow(s string) (res string)

Yellow returns s wrapped in Yellow ASCII Color Codes

Types

This section is empty.

Jump to

Keyboard shortcuts

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