Skip to content

Commit

Permalink
Fix misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeljesus committed Dec 14, 2017
1 parent f399fad commit 5981a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ var (
defaultSleep = 500 * time.Millisecond
)

// Func is the function to be executed and eventualy retried.
// Func is the function to be executed and eventually retried.
type Func func() error

// HTTPFunc is the function to be executed and eventualy retried.
// HTTPFunc is the function to be executed and eventually retried.
// The only difference from Func is that it expects an *http.Response on the first returning argument.
type HTTPFunc func() (*http.Response, error)

Expand Down

0 comments on commit 5981a38

Please sign in to comment.