Skip to content

syohex/retry

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 71.7%
  • Makefile 18.3%
  • Shell 10.0%