Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
Signed-off-by: Levi Gross <[email protected]>
  • Loading branch information
levigross committed Jun 28, 2015
1 parent d3f44ab commit aa5c51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ In the code below, once the file is downloaded – the `Response` struct no long
```go
response := Get("http://some-wonderful-file.txt", nil)

if err := resp.DownloadToFile("randomFile"); err != nil {
if err := response.DownloadToFile("randomFile"); err != nil {
log.Println("Unable to download file: ", err)
}

Expand Down

0 comments on commit aa5c51a

Please sign in to comment.