2019-08-08 21:50:32 +08:00
|
|
|
# Unzip
|
|
|
|
|
|
|
|
[](https://travis-ci.com/yi-ge/unzip)
|
|
|
|
[](https://godoc.org/github.com/yi-ge/unzip)
|
|
|
|
|
2019-08-08 21:55:17 +08:00
|
|
|
Golang \*.zip decompress.
|
2019-08-08 21:50:32 +08:00
|
|
|
|
|
|
|
Fork from [https://github.com/artdarek/go-unzip](https://github.com/artdarek/go-unzip) and remove print, add support for Symlink.
|
|
|
|
|
|
|
|
Thank artdarek.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```golang
|
|
|
|
import "github.com/yi-ge/unzip"
|
|
|
|
|
|
|
|
u := unzip.New(filePath, outDir)
|
|
|
|
err := u.Extract()
|
|
|
|
```
|