Skip to content

Commit

Permalink
README: Fix spacing on example
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Aug 4, 2023
1 parent c343f00 commit 4226e3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,10 @@ err := requests.
It depends on exactly what you need in terms of file atomicity and buffering, but this will work for most cases:

```go
err := requests.
URL("http://example.com").
ToFile("myfile.txt").
Fetch(ctx)
err := requests.
URL("http://example.com").
ToFile("myfile.txt").
Fetch(ctx)
```

For more advanced use case, use `ToWriter`.
Expand Down

0 comments on commit 4226e3b

Please sign in to comment.