January 2018
Intermediate to advanced
340 pages
8h 6m
English
The Go standard library also supports compression, which is different than archiving. Often, archiving and compressing are combined to package a large number of files in to a single compact file. The most common format is probably the .tar.gz file, which is a gzipped tar ball. Do not confuse zip and gzip as they are two different things.
The Go standard library has support for multiple compression algorithms:
Read more about each package at https://golang.org/pkg/compress/. These examples use gzip compression, ...
Read now
Unlock full access