archiver v3.1.0 Release Notes

Release Date: 2018-11-18 // over 5 years ago
  • 🚀 This release adds some new convenience functions for working with archive files or compressing/decompressing files: Archive(), Unarchive(), CompressFile(), and DecompressFile(). These functions are format-agnostic, and they determine which format to use by the filename (or file header, in the case of Unarchive). This way, you don't have to switch based on file extension for these simple operations. The library does it for you.

    Also exposed are new, slightly lower-level functions, for performing format matching: ByExtension() and ByHeader().

    📚 See the godoc documentation for more details.