Help us shape the future of Go! Take the 2026 Go Developer Survey

compress

package
v1.0.246 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gunzip

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

Gunzip will unzip data and return buffer inline

func TarGz

func TarGz(srcDir string, outfile *os.File) error

func TarGzipDir

func TarGzipDir(srcDir string) (string, error)

TarGzipDir will tar and gzip a directory and return the path to the file. You must delete the file when done.

Types

This section is empty.

Jump to

Keyboard shortcuts

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