ziptil

package
v1.0.1-0...-540a35a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(dst string, src string) (err error)

func TarGz

func TarGz(srcDirPath string, destFilePath string)

TarGz("./temp/engineercms/", "./temp/"+prod.Title+".tar.gz") //压缩

func Unzip

func Unzip(zipFile, dest string) (err error)

解压zip文件 @param zipFile 需要解压的zip文件 @param dest 需要解压到的目录 @return err 返回错误

func Zip

func Zip(source, target string) error

压缩文件

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL