Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDirectoryIfNotExist ¶
CreateDirectoryIfNotExist creates a directory or path of directories if it doesn't exist
func DownloadFile ¶
DownloadFile downloads a file from the provided url and will save it under the provided name in the destination directory
func SplitPathAndFile ¶
SplitPathAndFile takes a full path (windows and unix) or an URL splits the path and file The last element is considered to be the file and is returned as such When an URL is provided the prodocol indicator will be removed and the domain name will become a part of the path So http://example.com/files/file.zip will return example.com/files as the path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.