Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptiveCodeBlock ¶
AdaptiveCodeBlock trims whitespace and wraps a message in a code block. If message is a single line, an inline code block is used.
func BulletPointListFromMessages ¶
BulletPointListFromMessages creates a bullet-point list from messages.
func RemoveHyperlinks ¶
RemoveHyperlinks removes the hyperlink text from url
Types ¶
type TableOutput ¶ added in v1.6.0
TableOutput returns table output.
type TableSpace ¶ added in v1.6.0
type TableSpace struct{}
TableSpace destructs table sparated by spaces.
func (*TableSpace) TableSeparated ¶ added in v1.6.0
func (*TableSpace) TableSeparated(in string) TableOutput
TableSeparated takes a string input and returns a slice of slices containing the separated values in each row and a slice of the original input lines. TODO: change the output to a JSON or YAML format to allow standardized parser interface.
Click to show internal directories.
Click to hide internal directories.