compress/

directory
v0.0.0-...-c6b1d34 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2016 License: MIT

README

Compression tools

For the compress package: [GoDoc] (https://godoc.org/github.com/dns-gh/gotools/src/compress/compress)

Some common useful compression tools. Starts with zip/unzip.

Installation

  • You can download and set up Go langage by downloading it here: https://golang.org/dl/
  • Use go get or download the files directly from github to get the project
  • Set your GOPATH (to the project location) and GOROOT (where Go is installed) environment variables.

Build and usage

@gotools $ go install tools...
@gotools $ bin/zip.exe -d bin
2016/10/30 12:56:55 directory (-d) bin
2016/10/30 12:56:56 zipped to bin.zip
@gotools $ bin/unzip.exe -f bin.zip
2016/10/30 12:58:04 file (-f) bin.zip
2016/10/30 12:58:04 unzipped to bin.0

Tests and benchmarks

@gotools $ go test -v compress/compress
=== RUN   TestZip
--- PASS: TestZip (0.00s)
=== RUN   TestUnzip
--- PASS: TestUnzip (0.01s)
PASS
ok      tools/compress  0.066s

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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