Skip to content
Permalink
Browse files

Fix misspell

  • Loading branch information...
rafaeljesus committed Dec 14, 2017
1 parent f399fad commit 5981a380a87925ee03a78a7ff13574fabc804837
Showing with 2 additions and 2 deletions.
  1. +2 −2 retry.go
@@ -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)

0 comments on commit 5981a38

Please sign in to comment.
You can’t perform that action at this time.