color

color

import "github.com/yuta-yoshinaga/go_trumpcards/internal/color"

Index

## func Bold

func Bold(s string) string

Bold wraps s with bold ANSI code.

## func BoldYellow

func BoldYellow(s string) string

BoldYellow wraps s with bold yellow ANSI code.

## func Green

func Green(s string) string

Green wraps s with green ANSI color code.

## func NoColor

func NoColor() bool

NoColor reports whether color output is disabled.

## func Red

func Red(s string) string

Red wraps s with red ANSI color code.

## func SetNoColor

func SetNoColor(v bool)

SetNoColor sets whether color output is disabled. When true, callers should suppress ANSI color escape codes.

## func Yellow

func Yellow(s string) string

Yellow wraps s with yellow ANSI color code.

Generated by gomarkdoc