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
- Host: GitHub
- URL: https://github.com/pierrekieffer/archiver
- Owner: PierreKieffer
- Created: 2020-07-01T10:26:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-05T10:23:41.000Z (almost 6 years ago)
- Last Synced: 2023-03-07T01:31:41.088Z (over 3 years ago)
- Topics: compression, golang, zip
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
}
}
```