Documentation
¶
Index ¶
- func FormatMarkdownForSlack(str string) string
- func SelectLine(str string, line int) string
- func SelectLines(str string, startLine int, endLine int) string
- func TruncateWithLine(str string, maxLines int) string
- func WithDebugLogging[T any](label string, isDebugLogging bool, fn func() (*T, error)) (*T, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMarkdownForSlack ¶ added in v0.3.8
FormatMarkdownForSlack returns the formatted text of markdown for slack
func SelectLine ¶
SelectLine returns a specific line in the text
func SelectLines ¶
SelectLines returns a specific lines in the text
func TruncateWithLine ¶
TruncateWithLine truncate string with line
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.