This example requires the new gzipped.Dir() function introduced in v2.0.0, however the example is importing the older v1 version of the package. The import should be:
"github.com/lpar/gzipped/v2"
If you don't have time let me know and I can send a PR fixing this for you. Thanks!
Hi, the example in the current README file is not correct:
This example requires the new
gzipped.Dir()
function introduced inv2.0.0
, however the example is importing the olderv1
version of the package. The import should be:If you don't have time let me know and I can send a PR fixing this for you. Thanks!