Project to unpack a tar.gz file

Written by
Link to Post

https://www.reddit.com/r/golang/comments/bzgbbh/project_to_unpack_a_targz_file/ by 

Ive been looking online how to untar files in go, and it appears that majority of what I have found is a single function on some website that says “just copy this code into your project”

Although copying a simple function is easy, I would prefer to use a project that gives flexibility with un-tarring such as optional overwriting if a file exists and walking through the tarball. The only project I found was https://github.com/mholt/archiver but it appears that lately it has not been maintained and the builds are failing

Has anyone used a project that can help me with these problems before I am forced to try and fork that project or re-create my own?

submitted by /u/FoldingManager
[link] [comments]

Article Tags:
· ·
Article Categories:
reddit

Leave a Reply