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 InfoPrefix ¶ added in v0.35.0
func InfoPrefix() string
InfoPrefix returns an emoji indicating an info message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.