Documentation
¶
Overview ¶
Package chalk 는 터미널 및 콘솔 출력을 꾸며주는 패키지로 ttacon/chalk 패키지를 기반으로 제작되었습니다.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Black = Color{0} Red = Color{1} Green = Color{2} Yellow = Color{3} Blue = Color{4} Magenta = Color{5} Cyan = Color{6} White = Color{7} ResetColor = Color{9} BrightBlack = BrightColor{Black} BrightRed = BrightColor{Red} BrightGreen = BrightColor{Green} BrightYellow = BrightColor{Yellow} BrightBlue = BrightColor{Blue} BrightMagenta = BrightColor{Magenta} BrightCyan = BrightColor{Cyan} BrightWhite = BrightColor{White} Bold = TextStyle{1, 22} Dim = TextStyle{2, 22} Italic = TextStyle{3, 23} Underline = TextStyle{4, 24} Inverse = TextStyle{7, 27} Hidden = TextStyle{8, 28} Strikethrough = TextStyle{9, 29} Reset = &style{ foreground: ResetColor, background: ResetColor, } )
글자색, 모양(굵게, 이탤릭, 흐릿하게 ...)을 나타내는 변수입니다.
Functions ¶
This section is empty.
Types ¶
type BrightColor ¶
type BrightColor struct {
Color
}
BrightColor 는 Color 구조체를 embedding 하며 밝은 색을 나타냅니다.
type Color ¶
type Color struct {
// contains filtered or unexported fields
}
Color 는 기본적으로 제공되는 색을 나타냅니다.
Click to show internal directories.
Click to hide internal directories.

