Compare commits
5 Commits
ae2ceefcf9
...
v1.0.1
Author | SHA1 | Date | |
---|---|---|---|
643df15eb8 | |||
fb28920794 | |||
11c5657f4f | |||
9b42459dc3 | |||
75f1afc707 |
@ -19,11 +19,5 @@ cache:
|
|||||||
before_install:
|
before_install:
|
||||||
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
|
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
|
||||||
|
|
||||||
install:
|
|
||||||
- go mod install
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v
|
- go test -v
|
||||||
|
|
||||||
after_success:
|
|
||||||
# - goveralls -service=travis-ci -coverprofile /tmp/coverage/combined.txt
|
|
||||||
|
12
README.md
12
README.md
@ -1,5 +1,17 @@
|
|||||||
# Unxz
|
# Unxz
|
||||||
|
|
||||||
|
[](https://travis-ci.com/yi-ge/unxz)
|
||||||
[](https://godoc.org/github.com/yi-ge/unxz)
|
[](https://godoc.org/github.com/yi-ge/unxz)
|
||||||
[](https://codebeat.co/projects/github-com-yi-ge-unxz-master)
|
[](https://codebeat.co/projects/github-com-yi-ge-unxz-master)
|
||||||
[](https://goreportcard.com/report/github.com/yi-ge/unxz)
|
[](https://goreportcard.com/report/github.com/yi-ge/unxz)
|
||||||
|
|
||||||
|
Golang \*.tar.xz decompress.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```golang
|
||||||
|
import "github.com/yi-ge/unxz"
|
||||||
|
|
||||||
|
u := unxz.New(filePath, outDir)
|
||||||
|
err := u.Extract()
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user