Documentation ¶
Overview ¶
Package drafty contains utilities for conversion from Drafty to plain text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToPlainText ¶
ToPlainText converts message payload from Drafy format to string. If content is plain string, then it's returned unchanged. If content is not recognized as either Drafy (as a map[string]interface{}) or as a string, an error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.