Make and extract common archive formats such as .zip, and .tar.gz
copied from cf-staging / go-archiverEasily create and extract .zip, .tar, .tar.gz, .tar.bz2, .tar.xz, .tar.lz4, .tar.sz, and .rar (extract-only) files with Go. Package archiver makes it trivially easy to make and extract common archive formats. Simply name the input and output file(s). Files are put into the root of the archive; directories are recursively added, preserving structure.