Documentation
¶
Index ¶
- Variables
- func ApplyConfig(enableEmoji bool)
- func ApplyTheme(theme string)
- func EchoError(content string, a ...any)
- func EchoFatal(content string, a ...any)
- func EchoFine(content string, a ...any)
- func EchoOkay(content string, a ...any)
- func EchoRun(content string, a ...any)
- func EchoWarn(content string, a ...any)
- func EchoWeakNotice(content string, a ...any)
- func EchoWrong(content string, a ...any)
- func Emo(format string, a ...any) string
- type ColorStringFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var B = fc.New(fc.Bold).SprintfFunc()
bold/italic
View Source
var Blue = fc.New(fc.FgBlue).SprintfFunc()
View Source
var Cyan = fc.New(fc.FgCyan).SprintfFunc()
View Source
var F = fc.New(fc.Faint).SprintfFunc()
View Source
var Gray = fc.New(fc.FgHiBlack).SprintfFunc()
View Source
var Green = fc.New(fc.FgGreen).SprintfFunc()
View Source
var I = fc.New(fc.Italic).SprintfFunc()
View Source
var Info = fc.New(fc.FgWhite).SprintfFunc()
special
View Source
var Red = fc.New(fc.FgRed).SprintfFunc()
View Source
var U = fc.New(fc.Underline).SprintfFunc()
View Source
var Yellow = fc.New(fc.FgYellow).SprintfFunc()
fg
Functions ¶
func ApplyConfig ¶
func ApplyConfig(enableEmoji bool)
func ApplyTheme ¶
func ApplyTheme(theme string)
func EchoWeakNotice ¶ added in v0.0.4
Types ¶
type ColorStringFunc ¶
type ColorStringFunc func(a ...interface{}) string
Theme
var Text, Title, Nation, Line, Pron, Property, Idx, Addi, Para,
CollinsPara, Eg, EgPref, EgEn, EgCh,
Star, Rank ColorStringFunc
Click to show internal directories.
Click to hide internal directories.