gorar

package module
v0.0.0-...-2a34abc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 8 Imported by: 0

README

gorar

Extract rar/zip files in Go.

Install

go get -v https://github.com/jkotra/gorar/

Usage

Extract RAR

RarExtractor("Unrarme.rar", "./")

Multi Archive RAR is supported.(Do not itirate,only pass first file)

Extract Zip

ZipExtractor("Unzipme.zip","./")

Credits

mholt/archiver - error handling.

nwaples/rardecode - rar decoding library.

Documentation

Index

Constants

View Source
const VERSION = "0.1.2"

VERSION 0.1.2

Variables

This section is empty.

Functions

func RarExtractor

func RarExtractor(path string, destination string) error

RarExtractor ..

func ZipExtractor

func ZipExtractor(source string, destination string) error

ZipExtractor ..

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL