Documentation
¶
Index ¶
- func Blue(s string) string
- func Bold(s string) string
- func Box(s string) string
- func BoxDouble(s string) string
- func BoxRoundCorner(s string) string
- func Cyan(s string) string
- func DarkGray(s string) string
- func Default(s string) string
- func FormatByIndex(s string, start, end int, fm FontModifier) string
- func FormatByText(s, text string, fm FontModifier) string
- func FormattingArea(fm FontModifier, f func(*strings.Builder)) string
- func Gray(s string) string
- func Green(s string) string
- func Inverse(s string) string
- func Italic(s string) string
- func LightYellow(s string) string
- func Orange(s string) string
- func Red(s string) string
- func Strikethrough(s string) string
- func Underline(s string) string
- func Yellow(s string) string
- type FontModifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoxRoundCorner ¶
func FormatByIndex ¶
func FormatByIndex(s string, start, end int, fm FontModifier) string
func FormatByText ¶
func FormatByText(s, text string, fm FontModifier) string
func FormattingArea ¶
func FormattingArea(fm FontModifier, f func(*strings.Builder)) string
func LightYellow ¶
func Strikethrough ¶
Types ¶
type FontModifier ¶
func Multi ¶
func Multi(fm ...FontModifier) FontModifier
Click to show internal directories.
Click to hide internal directories.