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

compress

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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 added in v0.0.57

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

func TarGzipDir added in v0.0.71

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