No description or website provided.
Go Makefile Shell
Latest commit 3d913ef Jan 10, 2017 @Songmu enhance documentation
Permalink
Failed to load latest commit information.
_tools
cmd/retry
.gitignore
.goxc.json
.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