Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFile ¶
GetFile downloads a file. Destination directory will be created if it does not exist. It returns the path to the downloaded file. If the provided file is not a URL, it checks if it exists locally
func GetFiles ¶
GetFiles downloads a list of files. Destination directory will be created if it does not exist. It returns the paths to the downloaded files. If the provided file is not a URL, it checks if it exists locally
func RemoteReader ¶
func RemoteReader(path string) (io.ReadCloser, error)
RemoteReader returns a reader to a remote file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.