zips

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unzip

func Unzip(archive, target string) error

Unzip 解压zip, archive: 源文件路径(非目录), target: 解压目标目录

func Zip

func Zip(filePaths []string, zipPath string) (err error)

Zip 多个文件压缩为zip, filePaths: 需要压缩的文件的路径, zipPath: 最终压缩后的文件路径

Types

This section is empty.

Jump to

Keyboard shortcuts

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