Skip to content

Commit 7464e47

Browse files
josephwoodwardcmaglie
authored andcommitted
Fix readme sample
1 parent 9d5343d commit 7464e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ a destination:
1515
```go
1616
data, _ := ioutil.ReadFile("path/to/file.tar.bz2")
1717
buffer := bytes.NewBuffer(data)
18-
extract.Bz2(data, "/path/where/to/extract", nil)
18+
extract.Bz2(context.Background(), buffer, "/path/where/to/extract", nil)
1919
```
2020

2121
Sometimes you'll want a bit more control over the files, such as extracting a

0 commit comments

Comments
 (0)