color

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Overview

Color package is for printing a uniform set of colors for the CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bold

func Bold(s string) string

Bold makes a string bold

func CodeSnippet

func CodeSnippet(format string) string

CodeSnippet returns a colored string for code and command snippets

func Error

func Error(format string) string

Error returns a colored string for error messages

func Info

func Info(format string) string

Info returns a colored string for information messages

func Success

func Success(format string) string

Success returns a colored string for success messages

Types

This section is empty.

Jump to

Keyboard shortcuts

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