Documentation
¶
Index ¶
Constants ¶
View Source
const (
ErrorSymbol = "\u274c"
)
Variables ¶
This section is empty.
Functions ¶
func Emoji ¶
Emoji accepts two arguments, emoji sequence code, and fallback string, for the cases when emoji isn't supported. If the running program's operating system target isn't Windows, then a function returns emoji, in other case fall back string.
func ErrorPrefix ¶
func ErrorPrefix() string
ErrorPrefix returns cross mark emoji prefix or default "Error:"
func Warning ¶ added in v0.34.2
func Warning() string
Warning returns an emoji icon indicating a warning Ref: https://emojipedia.org/warning/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.