Documentation ¶ Index ¶ func Copy(srcFile, dstFile string) (written int64, err error) func CopyWithBuf(src, dst string, BUFFERSIZE int64) error func Exists(path string) bool func IsDir(path string) bool func URL(url string) (*[]byte, error) func URLReader(url string) (r *bytes.Reader, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Copy ¶ func Copy(srcFile, dstFile string) (written int64, err error) Copy 复制文件 func CopyWithBuf ¶ func CopyWithBuf(src, dst string, BUFFERSIZE int64) error CopyWithBuf 复制文件 缓冲区 func Exists ¶ func Exists(path string) bool Exists 判断所给路径文件/文件夹是否存在 func IsDir ¶ func IsDir(path string) bool IsDir 判断所给路径是否为文件夹 func URL ¶ func URL(url string) (*[]byte, error) func URLReader ¶ func URLReader(url string) (r *bytes.Reader, err error) Types ¶ This section is empty. Source Files ¶ View all Source files files.gourl.go Click to show internal directories. Click to hide internal directories.