Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Check displays ✔ SymbolCheck = "\xe2\x9c\x94" // Cross displays ✖ SymbolCross = "\xe2\x9c\x96" // LeftArrow displays ❮ SymbolLeftArrow = "\xe2\x9d\xae" // RightArrow displays ❯ SymbolRightArrow = "\xe2\x9d\xaf" // LeftTriangle displays ◀ SymbolLeftTriangle = "\xe2\x97\x80" // RightTriangle displays ▶ SymbolRightTriangle = "\xe2\x96\xb6" )
This file contains a few cherry-picked UTF-8 symbols to be used to build user-friendly command-line interfaces. They are all colorless so that they can be used along with disgo's formatting helpers.
Variables ¶
View Source
var ( // Success colors a message in bold green to represent success. Success = color.New(color.FgGreen, color.Bold).SprintFunc() // Failure colors a message in bold red to represent failure. Failure = color.New(color.FgRed, color.Bold).SprintFunc() // Trace colors a message in faint white (usually rendered in gray) // to represent an output of low importance for the user. Trace = color.New(color.FgHiWhite, color.Faint).SprintFunc() // Important colors a message in bold to represent an important // information. Important = color.New(color.Bold).SprintFunc() // Link colors a message in underlined blue to represent a clickable link. Link = color.New(color.FgBlue, color.Underline).SprintFunc() )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.