diff --git a/README.md b/README.md index 40402a6..326883e 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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