Categorygithub.com/go-zoox/chalk
modulepackage
1.0.2
Repository: https://github.com/go-zoox/chalk.git
Documentation: pkg.go.dev

# README

Chalk - Terminal string styling

PkgGoDev Build Status Go Report Card Coverage Status GitHub issues Release

Installation

To install the package, run:

go get github.com/go-zoox/chalk

Getting Started

import (
  "testing"
  "github.com/go-zoox/chalk"
)

func main() {
	fmt.Println(chalk.Red("Hello, World!"))
}

Inspired by

  • chalk/chalk - 🖍 Terminal string styling done right
  • ttacon/chalk - Intuitive package for prettifying terminal/console output

License

GoZoox is released under the MIT License.

# Functions

New creates a new color.

# Variables

Black is the black color.
Blue is the blue color.
Cyan is the cyan color.
Debug is the debug color.
Error is the error color.
Gray is the gray color.
Green is the green color.
Info is the info color.
Magenta is the magenta color.
Red is the red color.
Success is the success color.
Version is the current version of chalk.
Warn is the warn color.
White is the white color.
Yellow is the yellow color.

# Structs

Color represents one of the ANSI color escape codes.