Documentation ¶
Overview ¶
* @Author: Keven * @version: v1.0.1 * @Date: 2021-04-09 20:32:12 * @LastEditors: Keven * @LastEditTime: 2021-04-09 20:53:10
* @Author: Keven * @version: v1.0.1 * @Date: 2021-03-08 15:02:40 * @LastEditors: Keven * @LastEditTime: 2021-09-28 11:26:44
* @Author: Feng * @version: v1.0.0 * @Date: 2020-09-14 08:19:46 * @LastEditors: Keven * @LastEditTime: 2021-10-08 10:38:09
Index ¶
- Variables
- func AcceptImgType(imgType string) bool
- func B64ImageSave(savePath, data string, config ImageConf) (suffix string, err error)
- func Copy(src, dst string) (int64, error)
- func DirSize(path string) (int64, error)
- func GetAllFiles(dirPth string) (files []string, err error)
- func HttpGet(imgUrl, savePath string) (fileName string, err error)
- func Mkdir(dir string) (err error)
- func UnzipDir(zipFile, dir string) (err error)
- func ZipDir(dir, zipFile string) (err error)
- type FinfoPath
- type ImageConf
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func B64ImageSave ¶
func GetAllFiles ¶
GetAllFiles 获取指定目录下的所有文件,包含子目录下的文件
Types ¶
Click to show internal directories.
Click to hide internal directories.