Documentation
¶
Index ¶
Constants ¶
View Source
const ( FileTypeYAML = "yaml" FileTypeJSON = "json" FileTypeCSV = "csv" FileTypeUnknown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Object ¶
type Object string
Object implements method that check for file content type.
func (Object) CheckFileType ¶
CheckFileType checks the file type of the content passed, it validates for YAML/JSON.
Click to show internal directories.
Click to hide internal directories.