Documentation
¶
Index ¶
Constants ¶
View Source
const ( UnknownExt string = ".unknown" // input formats ExcelExt string = ".xlsx" CSVExt string = ".csv" XMLExt string = ".xml" YAMLExt string = ".yaml" // output formats JSONExt string = ".json" BinExt string = ".bin" TextExt string = ".txt" )
File format extension
Variables ¶
View Source
var OutputFormats = []Format{JSON, Bin, Text}
Functions ¶
func FilterInput ¶ added in v0.9.7
FilterInput checks if this input format need to be converted.
func Format2Ext ¶
func IsInputDocumentFormat ¶ added in v0.11.0
IsInputDocumentFormat checks whether the fmt belongs to input document formats, such as yaml.
func IsInputFormat ¶ added in v0.9.10
IsInputFormat checks whether the fmt belongs to InputFormats, such as Excel.
Types ¶
Click to show internal directories.
Click to hide internal directories.