add usage
This commit is contained in:
parent
11c5657f4f
commit
fb28920794
@ -4,3 +4,12 @@
|
||||
[](https://godoc.org/github.com/yi-ge/unxz)
|
||||
[](https://codebeat.co/projects/github-com-yi-ge-unxz-master)
|
||||
[](https://goreportcard.com/report/github.com/yi-ge/unxz)
|
||||
|
||||
## Usage
|
||||
|
||||
```golang
|
||||
import "github.com/yi-ge/unxz"
|
||||
|
||||
u := unxz.New(filePath, outDir)
|
||||
err := u.Extract()
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user