From: qydysky Date: Mon, 27 Jul 2020 23:11:30 +0000 (+0800) Subject: 10 X-Git-Tag: v0.0.2~79 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=93889bd7347890cd34aa8b543206514be440309d;p=part%2F.git 10 --- diff --git a/Zip.go b/Zip.go index d784eba..d0d0450 100644 --- a/Zip.go +++ b/Zip.go @@ -139,6 +139,7 @@ func (this *lzip) UnZip(zipFile string, destDir string) error { type rZip struct { poit *zip.ReadCloser buf map[string]*zip.File + sync.Mutex } func RZip() *rZip {return &rZip{}}