Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compress ¶
文件夹压缩: usage:
var err error err = com.Zip.Compress("/data/test","/data/test.zip") err = com.Zip.Compress("C:\Coding\DeepLabel\data\test5","C:\Coding\DeepLabel\data\test5.zip") if err != nil { fmt.Println(err.Error()) }
func DeCompress ¶
解压缩: usage:
var err error com.Zip.DeCompress("/data/test.zip", "/data/test") com.Zip.DeCompress("C:\Coding\DeepLabel\data\test5.zip", "C:\Coding\DeepLabel\data\test5") if err != nil { fmt.Println(err.Error()) }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.