{"id":74296,"library":"go-pkgz-repeater","title":"go-pkgz Repeater","description":"Retry a function until it succeeds or a strategy-defined limit is reached.","status":"active","version":"1.2.0","language":"go","source_language":null,"source_url":"https://github.com/go-pkgz/repeater","tags":["retry","repeater","strategy","utility"],"install":[{"cmd":"go get github.com/go-pkgz/repeater","lang":"bash","label":"Install github.com/go-pkgz/repeater"}],"dependencies":[],"imports":[{"symbol":"repeater","correct":"github.com/go-pkgz/repeater"}],"quickstart":{"code":"package main\n\nimport (\n\t\"errors\"\n\t\"github.com/go-pkgz/repeater\"\n)\n\nfunc main() {\n\terr := repeater.Repeat(3, 0, func() error {\n\t\treturn errors.New(\"temporary\")\n\t})\n\t_ = err\n}","lang":"go","description":"Retry a function up to 3 times with no delay."},"warnings":[],"env_vars":null,"search_vec":"'defin':15 'function':7 'go':2 'go-pkgz':1 'limit':16 'pkgz':3 'reach':18 'repeat':4,20 'retri':5,19 'strategi':14,21 'strategy-defin':13 'succeed':10 'util':22","created_at":"2026-06-17T19:01:54.532423+00:00","updated_at":"2026-06-17T19:01:54.532423+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/go-pkgz/repeater","github":"https://github.com/go-pkgz/repeater","docs":"https://pkg.go.dev/github.com/go-pkgz/repeater#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}