An open API service indexing awesome lists of open source software.

https://github.com/pierrekieffer/archiver

Basic implementation of zip file archiver
https://github.com/pierrekieffer/archiver

compression golang zip

Last synced: about 1 year ago
JSON representation

Basic implementation of zip file archiver

Awesome Lists containing this project

README

          

# archiver

Basic implementation of zip file archiver

## Download
```bash
go get github.com/PierreKieffer/archiver
```
## Usage

params :
- input : Path of directory to compress
- output : archive file path (.zip extension)

```go
import(
"github.com/PierreKieffer/archiver"
)
func main() {
err := archiver.ZipArchiver("/home/user/dir-to-compress", "/home/user/archive-name.zip")
if err != nil {
log.Println(err)
}
}
```