compression

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: MIT Imports: 7 Imported by: 0

README

Golang Toolbox - Compression

This library contains convenient methods for compressing data.

Methods

  • TarGzPackDir: Compresses a directory into a byte array

TODO

  • It can only handle files and skips directories

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TarGzPackDir

func TarGzPackDir(dirname string) ([]byte, error)

TarGzPackDir packs a whole directory into a gzipped tarball archive and returns its binary data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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