Skip to content

Commit

Permalink
Updated timeout example
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Cross committed Aug 5, 2021
1 parent 60f039c commit 1089db0
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 @@ -232,7 +232,7 @@ fmt.Println(countries[0].Region) // empty because this field was not requested

### `SetTimeout()`

The default timeout for the HTTP client is `0` meaning no timeout. Use `SetTimeout()` to override the default timeout, using a time.Duration.
The default timeout for the HTTP client is `0` (meaning no timeout). Use `SetTimeout()` to override the default timeout, using a time.Duration.

```go
client := restcountries.New()
Expand Down

0 comments on commit 1089db0

Please sign in to comment.