1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 08:32:40 +08:00

更新库

This commit is contained in:
2023-10-12 15:02:04 +08:00
parent 1203e27c7e
commit 69690da6b4
8 changed files with 97 additions and 145 deletions

View File

@ -2,7 +2,6 @@ package compress
import (
"archive/zip"
"io/ioutil"
"os"
)
@ -49,7 +48,7 @@ func (z *zipPackage) Write(out *os.File) error {
return err
}
in, err := ioutil.ReadFile(f.filename)
in, err := os.ReadFile(f.filename)
if err != nil {
return err
}