diff --git a/README.md b/README.md index 82f9ac9..62a3bcb 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,12 @@ Unpack a file: ```go file, _ := os.Open(test.filepath) - destPath, err := unpackit.Unpack(file, tempDir) + err := unpackit.Unpack(file, tempDir) ``` Unpack a stream (such as a http.Response): ```go res, err := http.Get(url) - destPath, err := unpackit.Unpack(res.Body, tempDir) + err := unpackit.Unpack(res.Body, tempDir) ``` -