style

package
Version: v1.2.132559162 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorJSON added in v1.1.97

func ColorJSON(content string) string

ColorJSON formats the json with colors for the terminal

func Completed

func Completed(s string) string

Completed make the text green

func Graph added in v1.1.263

func Graph(s string) string

Graph make the background green and text white

func Header(s string) string

Header make the background blue and text white

func Highlight added in v1.1.170

func Highlight(s string) string

Highlight make the background green and text white

func Loading

func Loading(s string) string

Loading make the text red and blink

func Separator

func Separator(s string) string

Separator use magenta and faint to format the text

func Subtle

func Subtle(s string) string

Subtle use magenta and faint to format the text

func Title

func Title(s string) string

Title make the text bold

func Warning added in v1.1.170

func Warning(s string) string

Warning make the background red and text white

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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