...

Package colorize

import "github.com/Diarkis/diarkis/log/lib/colorize"
Overview
Index

Overview ▾

Constants

Blue Color ID

const Blue = 21

DarkBlue Color ID

const DarkBlue = 22

Green Color ID

const Green = 30

Grey Color ID

const Grey = 10

LightBlue Color ID

const LightBlue = 20

Purple Color ID

const Purple = 50

Red Color ID

const Red = 60

RedBg Color ID

const RedBg = 100

Yellow Color ID

const Yellow = 40

func Disable

func Disable()

Disable Turns off colorize

func Enable

func Enable()

Enable Turns on colorize

func Get

func Get(color int, msg string) string

Get Returns colorized string