Documentation ¶
Overview ¶
Package df holds stuff related to data format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPlainText ¶
func IsPlainText[i input](b i) bool
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" )
Pre-defined well known data formats.
Click to show internal directories.
Click to hide internal directories.