archivex is a golang package that archives folders (recursively) and files to zip and tar formats.
Originally written by Jhonathan Paulo Banczek here: https://github.com/jhoonb/archivex
Note: The code is heavily modified, so the original interface is no longer compatible.