c4milo / unpackit

Go package to natively decompress and unarchive tar.gz, tar.bzip2, tar.xz, zip and tar files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unpackit.Unpack There is a compatibility problem

hktalent opened this issue · comments

commented

There is a compatibility problem. The old version returns two values, and the latest version returns only one

tmpdir, err := unpackit.Unpack(f, "")

Yes, that’s why I bumped the major number in the version.

Thanks for the report, though. 👍🏼