Documentation ¶ Index ¶ func GetLastModifiedTime(url string) (time.Time, error) func ToFile(url string, dir string, allowCached bool) (string, error) func ToMemory(url string) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetLastModifiedTime ¶ func GetLastModifiedTime(url string) (time.Time, error) func ToFile ¶ func ToFile(url string, dir string, allowCached bool) (string, error) ToFile downloads url and saves it under the directory dir. allowCached indicates whether is allowed to use an existing file if the resource on the network is not available. func ToMemory ¶ func ToMemory(url string) ([]byte, error) Types ¶ This section is empty. Source Files ¶ View all Source files download.go Click to show internal directories. Click to hide internal directories.