Skip to content

MarcWebDev/chalk-advanced-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chalk-advanced-go

Chalk-advanced-go is a library that allows you to colorize your console output in go.

size

Quick Links

Installation

Install chalk-advanced-go

  go get github.com/marchoffmann07/chalk-advanced-go@v1.3.3

Code Example

package main

import (
    "fmt"
    ChalkAdvanced "github.com/marchoffmann07/chalk-advanced-go"
)

func main() {
    fmt.Println(ChalkAdvanced.Blue("Blue message"))
}

Features

Normal Colors

  • Black(text)
  • Red(text)
  • Green(text)
  • Yellow(text)
  • Blue(text)
  • Magenta(text)
  • Cyan(text)
  • White(text)
  • Gray(text)

Bright Colors

  • RedBright(text)
  • GreenBright(text)
  • YellowBright(text)
  • BlueBright(text)
  • MagentaBright(text)
  • CyanBright(text)
  • WhiteBright(text)

Normal Background Colors

  • BgBlack(text)
  • BgRed(text)
  • BgGreen(text)
  • BgYellow(text)
  • BgBlue(text)
  • BgMagenta(text)
  • BgCyan(text)
  • BgWhite(text)

Bright Background Colors

  • BgRedBright(text)
  • BgGreenBright(text)
  • BgYellowBright(text)
  • BgBlueBright(text)
  • BgMagentaBright(text)
  • BgCyanBright(text)
  • BgWhiteBright(text)

Specials

  • Bold(text)
  • Dim(text)
  • Italic(text)
  • Underline(text)
  • Inverse(text)
  • Hide(text)
  • Strikethrough(text)

Contributors

image