Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PropertyMap map[string]Decorator = map[string]Decorator{ "obfuscated": Obfuscated, "bold": Bold, "strikethrough": Strikethrough, "underlined": Underlined, "italic": Italic, } )
Functions ¶
This section is empty.
Types ¶
type Decorator ¶
type Decorator string
Decorator is a type of text decorator (bold, underline, etc.)
var ( // Obfuscated is a decorator used to specify text is obfuscated (§k) Obfuscated Decorator = "obfuscated" // Bold is a decorator used to specify text is bold (§k) Bold Decorator = "bold" // Strikethrough is a decorator used to specify text has a strikethrough (§m) Strikethrough Decorator = "strikethrough" // Underlined is a decorator used to specify text has an underline (§n) Underlined Decorator = "underline" // Italic is a decorator used to specify text uses italics (§o) Italic Decorator = "italic" // Unknown is an unknown parsed decorator Unknown Decorator = "unknown" )
Click to show internal directories.
Click to hide internal directories.