Documentation ¶ Index ¶ func Download(url, target string, isGzip bool) (string, error) func Exists(p string) bool func IsDir(p string) bool func IsLink(p string) bool func SaveStream(reader io.Reader, target string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Download ¶ func Download(url, target string, isGzip bool) (string, error) func Exists ¶ func Exists(p string) bool 判断文件是否存在 func IsDir ¶ func IsDir(p string) bool 判断是否目录 func IsLink ¶ func IsLink(p string) bool 判断是否链接 func SaveStream ¶ func SaveStream(reader io.Reader, target string) (string, error) Types ¶ This section is empty. Source Files ¶ View all Source files download.gofile.go Click to show internal directories. Click to hide internal directories.