No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_tools
cmd/retry
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
Makefile
README.md
retry.go
retry_test.go

README.md

retry

Build Status Coverage Status MIT License GoDoc

Description

retry N times

It is golang porting of perl's Sub::Retry

Synopsis

err := retry.Retry(3, 1*time.Second, func() error {
    // return error once in a while
})
if err != nil {
    // error handling
}

Author

Songmu