Documentation ¶ Index ¶ func Emoji(emoji string) string func Faint(faint string) string func Indent(line string) string func Secondary(secondary string, a ...any) string func Section(section SectionF) string func Title(title string) string type SectionF Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Emoji ¶ func Emoji(emoji string) string Emoji turns the text title into an emoticon func Faint ¶ func Faint(faint string) string Faint returns faint in dimmed markings func Indent ¶ func Indent(line string) string Indent adds a fixed left padding to the line func Secondary ¶ func Secondary(secondary string, a ...any) string Secondary returns secondary in a passive cloud func Section ¶ func Section(section SectionF) string Section builds a section into a string func Title ¶ func Title(title string) string Title returns title in a stable section purple Types ¶ type SectionF ¶ type SectionF struct { Icon string // Icon contains the title for the section emoji Header string // Header is the main text of a section Body []string // Body provides additional details to a section } SectionF contains information for a section Source Files ¶ View all Source files emoji.go format.go style.go Click to show internal directories. Click to hide internal directories.