Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectContentType ¶
DetectContentType will detect the content type of a file.
func FileExists ¶
FileExists function will check if the file exists in the specified path and if it is a file indeed
func LookupContentType ¶
LookupContentType will lookup ContentType based on the file extension. This function will only check based on the name of the file and use the file extension.
func PathExists ¶ added in v0.0.3
PathExists will return a boolean if the file/diretory exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.