Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gen2brain committed Oct 28, 2017
1 parent 6b77266 commit 63cd9e0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ unarr is a decompression library for RAR, TAR, ZIP and 7z archives.

go get -v github.com/gen2brain/go-unarr

### Example
### Examples

##### Open archive
```go
Expand All @@ -36,6 +36,13 @@ if err != nil {
panic(err)
}
```
##### List contents of archive
```go
list, err := a.List()
if err != nil {
panic(err)
}
```

##### Read known filename from archive
```go
Expand Down

0 comments on commit 63cd9e0

Please sign in to comment.