https://github.com/markelog/archive
Simple archive extraction
https://github.com/markelog/archive
archive bzip2 extract golang gzip zip
Last synced: about 1 year ago
JSON representation
Simple archive extraction
- Host: GitHub
- URL: https://github.com/markelog/archive
- Owner: markelog
- License: mit
- Created: 2016-07-03T07:48:27.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-04T16:51:08.000Z (over 9 years ago)
- Last Synced: 2025-01-25T05:11:34.311Z (over 1 year ago)
- Topics: archive, bzip2, extract, golang, gzip, zip
- Language: Go
- Homepage:
- Size: 154 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Archive [](https://travis-ci.org/markelog/archive) [](https://godoc.org/github.com/markelog/archive) [](https://goreportcard.com/report/github.com/markelog/archive)
> Simple archive (gzip/zip/bzip2) extraction
## Installation
```
$ go get github.com/markelog/archive
```
## Example
```go
package main
import "github.com/markelog/archive"
func main() {
// Will extract sexy turtles to current dir
archive.Extract("/sexy-turtles.tar.gz", ".")
// Will extract gangsta panda to current dir
archive.Extract("/gangsta-panda.zip", ".")
// Will extract killa gorilla to current dir
archive.Extract("/killa-gorilla.tar.bz2", ".")
}
```