Skip to content

Commit

Permalink
Make minor format improvements to README
Browse files Browse the repository at this point in the history
  • Loading branch information
ammario committed May 21, 2023
1 parent 6c8802c commit a871023
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ An exponentially backing off retry package for Go.
[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](https://godoc.org/github.com/coder/retry)

```
go get github.com/coder/retry
go get github.com/coder/retry@latest
```

## Features
Expand All @@ -16,7 +16,7 @@ go get github.com/coder/retry
## Examples

Wait for connectivity to google.com, checking at most once every
second.
second:
```go
func pingGoogle(ctx context.Context) error {
var err error
Expand All @@ -32,7 +32,7 @@ func pingGoogle(ctx context.Context) error {
}
```

Wait for connectivity to google.com, checking at most 10 times.
Wait for connectivity to google.com, checking at most 10 times:
```go
func pingGoogle(ctx context.Context) error {
var err error
Expand Down

0 comments on commit a871023

Please sign in to comment.