compress

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GzipCompress

func GzipCompress(data []byte) ([]byte, error)

func GzipDecompress

func GzipDecompress(data []byte) ([]byte, error)

func Unzip added in v1.3.0

func Unzip(zipPath, dstDir string) error

Unzip decompresses a zip file to specified directory. Note that the destination directory don't need to specify the trailing path separator.

func Zip added in v1.3.0

func Zip(zipPath string, paths []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