Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPlainText ¶ added in v1.2.0
IsPlainText checks whether bytes are in plain text format.
Types ¶
type DataFormat ¶
type DataFormat string
DataFormat describes format of data.
const ( // JSON describes JSON data format. JSON DataFormat = "JSON" // YAML describes Yaml data format. YAML DataFormat = "YAML" // XML describes XML data format. XML DataFormat = "XML" // HTML describes HTML data format. HTML DataFormat = "HTML" // PlainText describes plan text data format. PlainText DataFormat = "plain text" )
Click to show internal directories.
Click to hide internal directories.